Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

fix: Docker tag of the image published to ghcr fixed #68

Merged
merged 1 commit into from
Jul 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Docker tag of the image published to ghcr fixed
  • Loading branch information
lholota committed Jul 7, 2021
commit 9b7b4ff7f99f12cc404388cb73e9e46f9c566aba
6 changes: 3 additions & 3 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
cd ${{ matrix.base }} && docker build . \
--tag "$IMAGE_NAME:$RELEASE_VERSION-${{ matrix.base }}" \
--tag "$IMAGE_NAME:latest-${{ matrix.base }}" \
--tag "ghcr.io/homecentr/$IMAGE_NAME:$RELEASE_VERSION-${{ matrix.base }}" \
--tag "ghcr.io/homecentr/$IMAGE_NAME:latest-${{ matrix.base }}" \
--tag "ghcr.io/$IMAGE_NAME:$RELEASE_VERSION-${{ matrix.base }}" \
--tag "ghcr.io/$IMAGE_NAME:latest-${{ matrix.base }}" \
--label "org.label-schema.schema-version=1.0" \
--label "org.label-schema.vcs-ref=${GITHUB_SHA}" \
--label "org.label-schema.vcs-url=https://github.com/${GITHUB_REPOSITORY}" \
Expand Down Expand Up @@ -106,4 +106,4 @@ jobs:
# GitHub
- name: "Push to GitHub Packages"
if: env.RELEASE_VERSION != ''
run: "docker push ghcr.io/homecentr/$IMAGE_NAME:$RELEASE_VERSION-${{ matrix.base }} && docker push ghcr.io/homecentr/$IMAGE_NAME:latest-${{ matrix.base }}"
run: "docker push ghcr.io/$IMAGE_NAME:$RELEASE_VERSION-${{ matrix.base }} && docker push ghcr.io/$IMAGE_NAME:latest-${{ matrix.base }}"