Skip to content

Commit c15cdd1

Browse files
authored
Fix Docker build & push gh actions (#309)
1 parent 414d2c9 commit c15cdd1

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/workflows/build-push.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,33 @@ on:
44
push:
55
branches:
66
- 'main'
7+
paths-ignore:
8+
- 'docs/**'
9+
- 'helm/**'
10+
- 'assets/**'
11+
- '**.md'
712

813
jobs:
914
docker:
1015
runs-on: ubuntu-latest
1116
steps:
1217
- name: Checkout
1318
uses: actions/checkout@v3
14-
15-
- name: Set up QEMU
16-
uses: docker/setup-qemu-action@v2
17-
18-
- name: Set up Docker Buildx
19-
uses: docker/setup-buildx-action@v2
2019

2120
- name: Login to Docker Hub
22-
uses: docker/login-action@v2
21+
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
2322
with:
2423
username: ${{ secrets.DOCKERHUB_USERNAME }}
2524
password: ${{ secrets.DOCKERHUB_TOKEN }}
26-
ecr: false
27-
28-
- name: Set up Docker Buildx
29-
uses: docker/setup-buildx-action@v2
25+
26+
- name: Extract metadata (tags, labels) for Docker
27+
id: meta
28+
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
29+
with:
30+
images: parseable/parseable
3031

3132
- name: Build and push
32-
uses: docker/build-push-action@v4
33+
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
3334
with:
3435
context: .
3536
file: ./Dockerfile

0 commit comments

Comments
 (0)