We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 475a18a commit 9d2afcbCopy full SHA for 9d2afcb
.github/workflows/docker-publish-image.yml
@@ -51,13 +51,12 @@ jobs:
51
52
# Login against a Docker registry except on PR
53
# https://github.com/docker/login-action
54
- - name: Log into registry ${{ env.REGISTRY }}
+ - name: Login to Docker Hub
55
if: github.event_name != 'pull_request'
56
- uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
+ uses: docker/login-action@v3
57
with:
58
- registry: ${{ env.REGISTRY }}
59
- username: ${{ github.actor }}
60
- password: ${{ secrets.GITHUB_TOKEN }}
+ username: ${{ vars.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
61
62
# Extract metadata (tags, labels) for Docker
63
# https://github.com/docker/metadata-action
0 commit comments