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 pushing images to ghcr.io for release builds #1217

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

pmalek-sumo
Copy link
Contributor

Description

Add pushing images to ghcr.io

Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

Copy link
Contributor

@perk-sumo perk-sumo left a 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
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and ${docker_tag}

Copy link
Contributor

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

Copy link
Contributor

@sumo-drosiek sumo-drosiek left a 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

@pmalek-sumo pmalek-sumo merged commit c255a24 into release-v1.3 Dec 4, 2020
@pmalek-sumo pmalek-sumo deleted the release-branch-1-3-push-images-to-ghcr branch December 4, 2020 13:55
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.

4 participants