Use another env for an image tag
This commit is contained in:
parent
543ca1b21b
commit
f18bf4d5d7
6
.github/workflows/container-stable.yaml
vendored
6
.github/workflows/container-stable.yaml
vendored
@ -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 }}
|
||||||
|
2
.github/workflows/container-version.yaml
vendored
2
.github/workflows/container-version.yaml
vendored
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user