Skip to content

Commit c07d3a4

Browse files
committed
Remove not needed GH_USERNAME and update some comments
1 parent 5d4cca5 commit c07d3a4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/test_buildx_and_publish.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
uses: docker/login-action@v2
8181
with:
8282
registry: ghcr.io
83-
username: ${{ secrets.GH_USERNAME }}
83+
username: ${{ github.actor }}
8484
password: ${{ secrets.GITHUB_TOKEN }}
8585

8686
# https://github.com/docker/build-push-action#multi-platform-image
@@ -94,10 +94,6 @@ jobs:
9494
tags: ${{ steps.calculatetags.outputs.tags }}
9595

9696
# https://github.com/peter-evans/dockerhub-description
97-
# It's horrible that we need to use password here instead of PAT, because
98-
# that's only available via CLI what defeats 2FA. Anyway, we need to
99-
# auto-update the description, so using it (till available via PAT).
100-
# Link: https://github.com/peter-evans/dockerhub-description/issues/10
10197
# Note that we only update the description with the master branch version.
10298
- name: Set Docker Hub description from README.md
10399
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)