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