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

Container image release fixes #451

Merged
merged 2 commits into from
Oct 28, 2023
Merged

Conversation

pushrbx
Copy link
Collaborator

@pushrbx pushrbx commented Oct 26, 2023

We are building multi arch images in the github action. On the packages page of the repo, for each version you see "No description" provided, however the github action already adds that label to the container image. See here: https://github.com/jikan-me/jikan-rest/pkgs/container/jikan-rest/141371328?tag=sha-56f4783

In case of multi arch images the manifest should contain these OCI standard labels in the "annotations" section. This PR adds the defined labels as annotations when creating the image manifest.

Additional changes:

  • upgraded versions
  • fixed tagging -- the version tag based on the release name/tag was missing before

We are building multi arch images in the github action. 
On the packages page of the repo, for each version you see "No description" provided, however the github action already adds that label to the container image.
See here: https://github.com/jikan-me/jikan-rest/pkgs/container/jikan-rest/141371328?tag=sha-56f4783

In case of multi arch images the manifest should contain these OCI standard labels in the "annotations" section. This PR adds the defined labels as annotations when creating the image manifest.
@pushrbx pushrbx requested a review from a team as a code owner October 26, 2023 18:02
@pushrbx pushrbx changed the title Container image release: add annotations Container image release fixes Oct 26, 2023
@irfan-dahir irfan-dahir merged commit c469a12 into master Oct 28, 2023
@pushrbx
Copy link
Collaborator Author

pushrbx commented Oct 28, 2023

@irfan-dahir I will need to rollback the annotations changes in the workflow file, because the action we use doesn't use the latest docker buildx version. (0.12.0)

@pushrbx pushrbx deleted the container-image-annotations1 branch January 31, 2024 19:53
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.

2 participants