-
Notifications
You must be signed in to change notification settings - Fork 891
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
Publish docker images to docker hub (fixes #71) #75
base: master
Are you sure you want to change the base?
Conversation
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.
LGTM. I will start our importing workflow. It might take a few hours to get reviewed internally.
Hi @JonZeolla, this PR probably needs more work. Internal policy requires us to move dockerhub images to gcr.io. Since this image is new, we should directly host them on GCR. Tsunami team will set up a hosting GCP project and push images there. If you have bandwidth, can you update the workflow in this PR to publish to GCR instead (an example, please all the GKE stuff). Otherwise Tsunami team can take the remaining work over. Sorry for the additional complexity. In addition, we are currently waiting for our internal reviews on the prebuilt docker images. This can take a while before the first public build. |
@magl0 Would it be possible for the image to be published to both gcr.io and docker hub? |
Hi, technically it is possible to publish to both registries. But we are migrating away from docker hub and and in the future gcr.io will be the only option. We try to avoid doing throw-away work if possible to avoid maintenance burden. |
Makes sense, specially since gcr.io is owned by Google. |
hey @magl0 if this it still open, I could probably try to get a new PR up that publishes to gcr. |
This adds a github action which will build and publish the docker image to docker hub.
Before merging, consider configuring the github repo with credentials for
DOCKERHUB_USERNAME
andDOCKERHUB_TOKEN
I am also open to pinning the commit hashes for the use of the third party actions of
docker/login-action
,docker/build-push-action
,peter-evans/dockerhub-description
.