mirror of
https://github.com/gilbN/theme.park.git
synced 2024-08-18 07:59:37 +02:00
hmmm
This commit is contained in:
parent
3d2597f5e1
commit
849261e722
3
.github/workflows/docker-build.yml
vendored
3
.github/workflows/docker-build.yml
vendored
@ -127,6 +127,7 @@ jobs:
|
||||
SOURCE=${IMAGE}:${TAG}-${GITHUB_SHA:0:7}-${GITHUB_RUN_NUMBER}
|
||||
VERSION=${{ steps.prep.outputs.VERSION }}
|
||||
RELEASE=${{ steps.prep.outputs.release }}
|
||||
echo $RELEASE $TAG
|
||||
[[ -f linux-amd64.Dockerfile ]] && AMD64=${SOURCE}-linux-amd64
|
||||
[[ -f linux-arm64.Dockerfile ]] && ARM64=${SOURCE}-linux-arm64
|
||||
[[ -f linux-arm-v7.Dockerfile ]] && ARMV7=${SOURCE}-linux-arm-v7
|
||||
@ -134,7 +135,7 @@ jobs:
|
||||
docker manifest push ${IMAGE}:${TAG}
|
||||
docker manifest create ${IMAGE}:${TAG}-${GITHUB_SHA:0:7} ${AMD64} ${ARM64} ${ARMV7}
|
||||
docker manifest push ${IMAGE}:${TAG}-${GITHUB_SHA:0:7}
|
||||
if [[ ${RELEASE} == master ]]; then
|
||||
if [[ ${RELEASE} == 'master' ]]; then
|
||||
docker manifest create ${IMAGE}:latest ${AMD64} ${ARM64} ${ARMV7}
|
||||
docker manifest push ${IMAGE}:latest
|
||||
fi
|
Loading…
Reference in New Issue
Block a user