Skip to content
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

Merged
merged 1 commit into from
Sep 10, 2020
Merged

Add example to update DockerHub repo description #117

merged 1 commit into from
Sep 10, 2020

Conversation

crazy-max
Copy link
Member

Closes #21

Signed-off-by: CrazyMax [email protected]

@crazy-max crazy-max requested a review from tonistiigi September 9, 2020 23:14
@codecov-commenter
Copy link

codecov-commenter commented Sep 9, 2020

Codecov Report

Merging #117 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c27a49b...f5974eb. Read the comment docs.

@crazy-max crazy-max merged commit f38eb7f into docker:master Sep 10, 2020
@crazy-max crazy-max deleted the update-repo-desc-example branch September 10, 2020 09:32
name: Update repo description
uses: peter-evans/dockerhub-description@v2
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}

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.

Copy link
Member Author

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

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 :)

Copy link
Member Author

@crazy-max crazy-max Sep 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Readme and description with push on Docker hub
3 participants