From f18bf4d5d74c83939289ad5477a0a29e19353286 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 18 Jan 2023 12:31:07 +0100 Subject: [PATCH] Use another env for an image tag --- .github/workflows/container-stable.yaml | 6 +----- .github/workflows/container-version.yaml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/container-stable.yaml b/.github/workflows/container-stable.yaml index 6dea7a7..3437801 100644 --- a/.github/workflows/container-stable.yaml +++ b/.github/workflows/container-stable.yaml @@ -32,10 +32,6 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.CR_PAT }} - - name: Debug - run: | - echo ${{ env.GITHUB_ACTION_REPOSITORY }} - env - name: Build uses: docker/build-push-action@v2 with: @@ -45,7 +41,7 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: | - ghcr.io/${{ env.GITHUB_ACTION_REPOSITORY }}:stable + ghcr.io/${{ env.GITHUB_REPOSITORY }}:stable labels: | action_id=${{ github.action }} action_link=${{ env.LINK }} diff --git a/.github/workflows/container-version.yaml b/.github/workflows/container-version.yaml index fc2da51..e8dd6b8 100644 --- a/.github/workflows/container-version.yaml +++ b/.github/workflows/container-version.yaml @@ -44,7 +44,7 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: | - ghcr.io/${{ env.GITHUB_ACTION_REPOSITORY }}:${{ env.TAG }} + ghcr.io/${{ env.GITHUB_REPOSITORY }}:${{ env.TAG }} labels: | action_id=${{ github.action }} action_link=${{ env.LINK }}