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

feat: tag latest container image #74

Merged
merged 1 commit into from
Mar 14, 2024
Merged

feat: tag latest container image #74

merged 1 commit into from
Mar 14, 2024

Conversation

amannocci
Copy link
Contributor

What is the change being made?

  • The tag latest container image for each build.

Why is the change being made?

  • The latest tag is never updated.

@amannocci amannocci requested a review from a team March 13, 2024 13:35
@amannocci amannocci self-assigned this Mar 13, 2024
@amannocci amannocci requested a review from a team as a code owner March 13, 2024 13:35
Comment on lines 69 to +71
docker push $(IMAGE_REF)
docker tag $(IMAGE_REF) $(CONTAINER_IMAGE_BASE_REF):latest
docker push $(CONTAINER_IMAGE_BASE_REF):latest
Copy link
Member

@v1v v1v Mar 13, 2024

Choose a reason for hiding this comment

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

nit:

Suggested change
docker push $(IMAGE_REF)
docker tag $(IMAGE_REF) $(CONTAINER_IMAGE_BASE_REF):latest
docker push $(CONTAINER_IMAGE_BASE_REF):latest
docker tag $(IMAGE_REF) $(CONTAINER_IMAGE_BASE_REF):latest
docker push --all-tags $(CONTAINER_IMAGE_BASE_REF)

-a, --all-tags Push all tags of an image to the repository

Signed-off-by: Adrien Mannocci <[email protected]>
@amannocci amannocci merged commit 0497fdf into main Mar 14, 2024
5 checks passed
@amannocci amannocci deleted the feat/tag-latest branch March 14, 2024 13:08
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