Use another env for an image tag

This commit is contained in:
Nikolai Rodionov 2023-01-18 12:31:07 +01:00
parent 543ca1b21b
commit f18bf4d5d7
2 changed files with 2 additions and 6 deletions

View File

@ -32,10 +32,6 @@ jobs:
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }} password: ${{ secrets.CR_PAT }}
- name: Debug
run: |
echo ${{ env.GITHUB_ACTION_REPOSITORY }}
env
- name: Build - name: Build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
@ -45,7 +41,7 @@ jobs:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/${{ env.GITHUB_ACTION_REPOSITORY }}:stable ghcr.io/${{ env.GITHUB_REPOSITORY }}:stable
labels: | labels: |
action_id=${{ github.action }} action_id=${{ github.action }}
action_link=${{ env.LINK }} action_link=${{ env.LINK }}

View File

@ -44,7 +44,7 @@ jobs:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/${{ env.GITHUB_ACTION_REPOSITORY }}:${{ env.TAG }} ghcr.io/${{ env.GITHUB_REPOSITORY }}:${{ env.TAG }}
labels: | labels: |
action_id=${{ github.action }} action_id=${{ github.action }}
action_link=${{ env.LINK }} action_link=${{ env.LINK }}