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:
parent
502f0bcdfe
commit
7eecf14027
4
.github/workflows/docker-build.yml
vendored
4
.github/workflows/docker-build.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user