Skip to content

Container image release fixes#451

Merged
irfan-dahir merged 2 commits into
masterfrom
container-image-annotations1
Oct 28, 2023
Merged

Container image release fixes#451
irfan-dahir merged 2 commits into
masterfrom
container-image-annotations1

Conversation

@pushrbx
Copy link
Copy Markdown
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
Copy Markdown
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