Skip to content

Commit

Permalink
Merge pull request #346 from avnishsinghh/update_container_labels
Browse files Browse the repository at this point in the history
update container labels
  • Loading branch information
kjsanger authored Jul 30, 2024
2 parents 11582f7 + 75a5191 commit 7a729c9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,13 @@ jobs:
--platform linux/amd64 \
--progress plain \
--load \
--label "uk.ac.sanger.repository=$GIT_URL" \
--label "uk.ac.sanger.commit=$GIT_COMMIT" \
--tag "ghcr.io/$REPOSITORY_OWNER/$IMAGE_NAME:$RELEASE_VERSION" \
--label "org.opencontainers.image.title=${IMAGE_NAME}" \
--label "org.opencontainers.image.source=${GIT_URL}" \
--label "org.opencontainers.image.revision=${GIT_COMMIT}" \
--label "org.opencontainers.image.version=${RELEASE_VERSION}" \
--label "org.opencontainers.image.created=$(date --utc --iso-8601=seconds)" \
--label "org.opencontainers.image.vendor=npg.sanger.ac.uk" \
--tag "ghcr.io/$REPOSITORY_OWNER/$IMAGE_NAME:${RELEASE_VERSION}" \
--tag "ghcr.io/$REPOSITORY_OWNER/$IMAGE_NAME:latest" \
.
- name: "Push Docker image"
Expand Down

0 comments on commit 7a729c9

Please sign in to comment.