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

use GHA to update Docker Hub repo description #289

Open
BretFisher opened this issue Mar 11, 2023 · 4 comments
Open

use GHA to update Docker Hub repo description #289

BretFisher opened this issue Mar 11, 2023 · 4 comments
Labels
enhancement GitHub Actions PR/Issue that's dealing with a GHA workflow

Comments

@BretFisher
Copy link
Collaborator

Currently, when we update the README.md in this repo, it doesn't update the readme in Docker Hub.

Making a workflow for this that only fires on changing README.me would fix that:

https://github.com/peter-evans/dockerhub-description

@BretFisher BretFisher added enhancement GitHub Actions PR/Issue that's dealing with a GHA workflow labels Mar 11, 2023
@sumitNITS
Copy link

Hi @BretFisher,

I would like to work on this task. You can assign it to me!

Thanks, and have a good day ahead!

@sumitNITS
Copy link

/assign

@sumitNITS
Copy link

sumitNITS commented Apr 17, 2023

Hi @BretFisher,

I have gone through https://github.com/peter-evans/dockerhub-description and in the case of
example-voting-app repo it is having 3 docker images (3 repos) dockersamples/examplevotingapp_vote, dockersamples/examplevotingapp_worker and dockersamples/examplevotingapp_result in docker hub.

Following the peter-evans dockerhub-description I tried to achieve this goal (locally in example scenarios with more than one repo in docker hub ). Since we are having 3 docker images in 3 repos so the parameter "repository" was not taking more than one docker hub repo at the same time.
image

So what is your suggestion on this?

However, we can go for 3 yaml files each containing the individual docker hub repo name
OR another option is to maintain a single docker hub repo having images for vote, worker and result within its tag like dockersamples/examplevotingapp:vote, dockersamples/examplevotingapp:worker, dockersamples/examplevotingapp:result
Following that way only 1 yaml file will work in this case!

Let me know your thoughts on this!

@sumitNITS
Copy link

I could see the workflows for building images with separate yaml files for vote, worker, and result so suspecting that for this also you will go for 3 yaml files if I am going correctly.

Please let me know whether "${{ secrets.DOCKERHUB_TOKEN }}" that you are using in other workflows is having a personal access token as a secret.

@BretFisher I shall wait for your response soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement GitHub Actions PR/Issue that's dealing with a GHA workflow
Projects
Status: No status
Development

No branches or pull requests

2 participants