Skip to content

Commit

Permalink
Update BuildDockerPush.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ptr727 authored Jun 19, 2023
1 parent 3e32341 commit ce222a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/BuildDockerPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ jobs:
uses: docker/login-action@v2
with:
registry: docker.io
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
username: ${{ env.dopush && secrets.DOCKER_HUB_USERNAME || "foo" }}
password: ${{ env.dopush && secrets.DOCKER_HUB_ACCESS_TOKEN || "foo" }}

# Docker build and push
# https://github.com/marketplace/actions/build-and-push-docker-images
Expand Down

0 comments on commit ce222a6

Please sign in to comment.