-
Notifications
You must be signed in to change notification settings - Fork 183
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 pushing images to ghcr.io for release builds #1217
Add pushing images to ghcr.io for release builds #1217
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.
👍
docker tag "${docker_tag}:local" "${GHCR_IO_DOCKER_TAG}" | ||
echo "Pushing docker image ${GHCR_IO_DOCKER_TAG}..." | ||
docker push "${GHCR_IO_DOCKER_TAG}" | ||
fi |
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.
Can we move it to the function and make it general by passing login, password, registry?
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.
and ${docker_tag}
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.
I mean, push_docker_image should push image to a registry and you can eventually create push_docker_images
which will check for gcrio, ecr, dockerhub, quay.io, etc. and will run push_docker_image
with arguments for every of the registry
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.
We can postpone my request. It should be done in #1220
Description
Add pushing images to ghcr.io
Testing performed