-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example to update DockerHub repo description #117
Conversation
Signed-off-by: CrazyMax <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #117 +/- ##
=======================================
Coverage 44.85% 44.85%
=======================================
Files 3 3
Lines 107 107
Branches 17 17
=======================================
Hits 48 48
Misses 46 46
Partials 13 13 Continue to review full report at Codecov.
|
name: Update repo description | ||
uses: peter-evans/dockerhub-description@v2 | ||
env: | ||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it the same user and password? I think you should reuse the secrets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@felipecrs As stipulated by the Docker Hub Description action, you cannot use a DockerHub Token to update the description. That's why I don't use the same credentials here. More info: https://github.com/peter-evans/dockerhub-description#usage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the DOCKER_PASSWORD
should be renamed as DOCKER_TOKEN
so :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@felipecrs DOCKER_PASSWORD
can be used as docker login
too but yeah good idea to use DOCKER_TOKEN
as best practice. I will update the README about this.
Closes #21
Signed-off-by: CrazyMax [email protected]