1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-20 10:02:32 +01:00

append input tag

This commit is contained in:
GilbN 2022-10-23 11:42:20 +02:00
parent 502f0bcdfe
commit 7eecf14027

View File

@ -123,7 +123,7 @@ jobs:
DOCKER_CLI_EXPERIMENTAL: enabled DOCKER_CLI_EXPERIMENTAL: enabled
run: | run: |
IMAGE=${{ matrix.registry }}/${GITHUB_REPOSITORY,,} IMAGE=${{ matrix.registry }}/${GITHUB_REPOSITORY,,}
TAG=${{ github.ref_name }} TAG=${{ github.ref_name }}${{ github.event.inputs.tag }}
SOURCE=${IMAGE}:${TAG}-${GITHUB_SHA:0:7}-${GITHUB_RUN_NUMBER} SOURCE=${IMAGE}:${TAG}-${GITHUB_SHA:0:7}-${GITHUB_RUN_NUMBER}
VERSION=${{ env.VERSION }} VERSION=${{ env.VERSION }}
[[ -f linux-amd64.Dockerfile ]] && AMD64=${SOURCE}-linux-amd64 [[ -f linux-amd64.Dockerfile ]] && AMD64=${SOURCE}-linux-amd64
@ -139,7 +139,7 @@ jobs:
DOCKER_CLI_EXPERIMENTAL: enabled DOCKER_CLI_EXPERIMENTAL: enabled
run: | run: |
IMAGE=${{ matrix.registry }}/${GITHUB_REPOSITORY,,} IMAGE=${{ matrix.registry }}/${GITHUB_REPOSITORY,,}
TAG=${{ github.ref_name }} TAG=${{ github.ref_name }}${{ github.event.inputs.tag }}
SOURCE=${IMAGE}:${TAG}-${GITHUB_SHA:0:7}-${GITHUB_RUN_NUMBER} SOURCE=${IMAGE}:${TAG}-${GITHUB_SHA:0:7}-${GITHUB_RUN_NUMBER}
[[ -f linux-amd64.Dockerfile ]] && AMD64=${SOURCE}-linux-amd64 [[ -f linux-amd64.Dockerfile ]] && AMD64=${SOURCE}-linux-amd64
[[ -f linux-arm64.Dockerfile ]] && ARM64=${SOURCE}-linux-arm64 [[ -f linux-arm64.Dockerfile ]] && ARM64=${SOURCE}-linux-arm64