Skip to content

Commit 2372ba3

Browse files
committed
adding forgotten dockerhub login step
1 parent 4532d5a commit 2372ba3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ jobs:
6060
run: |
6161
docker run --rm ${{ env.TEST_TAG }}
6262
63+
-
64+
name: Login to DockerHub
65+
if: github.event_name != 'pull_request' && github.event_name != 'push'
66+
uses: docker/login-action@v2
67+
with:
68+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
69+
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
70+
6371
-
6472
name: Build and push
6573
uses: docker/build-push-action@v3

0 commit comments

Comments
 (0)