Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck authored Apr 21, 2024
1 parent c98c646 commit f1c6136
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
GHCR_REPO: ghcr.io/${{ github.repository_owner }}/cyclonedx-python
steps:
- name: lowercase image tags
run:
run: |
echo "DOCKERHUB_REPO=${DOCKERHUB_REPO@L}" >> "${GITHUB_ENV}"
echo "GHCR_REPO=${GHCR_REPO@L}" >> "${GITHUB_ENV}"
- name: Checkout code (${{ env.TAG }})
Expand All @@ -192,12 +192,12 @@ jobs:
docker build -f Dockerfile
--label "org.opencontainers.image.source=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
--label "org.opencontainers.image.revision=${GITHUB_SHA}"
--label 'org.opencontainers.image.version=$VERSION'
--build-arg "VERSION=$VERSION"
-t "$DOCKERHUB_REPO:$VERSION"
-t "$DOCKERHUB_REPO:latest"
-t "$GHCR_REPO@L:$VERSION"
-t "$GHCR_REPO:latest"
--label 'org.opencontainers.image.version=${VERSION}'
--build-arg "VERSION=${VERSION}"
-t "${DOCKERHUB_REPO}:${VERSION}"
-t "${DOCKERHUB_REPO}:latest"
-t "${GHCR_REPO|:${VERSION}"
-t "${GHCR_REPO}:latest"
.
- name: Build own SBoM (XML)
run: >
Expand Down

0 comments on commit f1c6136

Please sign in to comment.