Skip to content

Commit 79945b9

Browse files
committed
Update GitHub push action
1 parent 058fea6 commit 79945b9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build-and-push-images.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ jobs:
2626
uses: docker/setup-buildx-action@v1
2727

2828
- name: Log in to DockerHub
29-
uses: docker/login-action@v1
29+
uses: docker/login-action@v3
3030
with:
31-
username: ${{ secrets.DOCKERHUB_USERNAME }}
32-
password: ${{ secrets.DOCKERHUB_TOKEN }}
31+
username: ${{ secrets.DOCKER_USERNAME }}
32+
password: ${{ secrets.DOCKER_PASSWORD }}
3333

3434
- name: Build and push Docker image
35-
uses: docker/build-push-action@v2
35+
uses: docker/build-push-action@v6
3636
with:
3737
context: .
38+
file: ./Dockerfile
3839
push: true
3940
tags: masa-finance/postgres-backup-s3:${{ matrix.postgres }}
4041
build-args: |

0 commit comments

Comments
 (0)