From 1efa7f51a7fc543e5ed2adf2fbe28fb32965beb6 Mon Sep 17 00:00:00 2001 From: dark0dave Date: Sat, 1 Oct 2022 13:28:19 +0100 Subject: [PATCH] fix: Full path of the docker registry and path to docker image Signed-off-by: dark0dave --- .github/workflows/main.yaml | 4 ++-- scripts/changelog.tmpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index b47d1cd4..2db8bdbd 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -169,14 +169,14 @@ jobs: with: context: . push: true - tags: ${{ env.IMAGE_NAME }}:${{ needs.create-release.outputs.tag_name }} + tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.create-release.outputs.tag_name }} - name: Push latest uses: docker/build-push-action@v3 if: ${{ !contains(github.ref, 'nightly') }} with: context: . push: true - tags: ${{ env.IMAGE_NAME }}:latest + tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest release-artifacts: name: Release Artifacts needs: diff --git a/scripts/changelog.tmpl b/scripts/changelog.tmpl index 4f37b3c0..c6be77ff 100644 --- a/scripts/changelog.tmpl +++ b/scripts/changelog.tmpl @@ -68,4 +68,4 @@ {{- end -}} **Docker Image**: -{{ expandenv "ghcr.io/$GH_ORG/$GH_REPO:$GITHUB_REF_NAME" }} +{{ expandenv "$REGISTRY/$IMAGE_NAME:$GITHUB_REF_NAME" }}