mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-22 21:13:09 +02:00
parent
acf3e3460f
commit
01d695428a
1 changed files with 9 additions and 20 deletions
|
@ -90,16 +90,6 @@ mergeManifests:
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
script:
|
||||||
- >-
|
- >-
|
||||||
if test "$REGISTRY_PUSH_TAG" == "stable"; then
|
|
||||||
manifest-tool
|
|
||||||
--username=${CI_REGISTRY_USER}
|
|
||||||
--password=${CI_REGISTRY_PASSWORD}
|
|
||||||
push from-args
|
|
||||||
--platforms linux/amd64,linux/arm64
|
|
||||||
--tags ${REGISTRY_PUSH_VERSION},stable
|
|
||||||
--template ${CI_REGISTRY_IMAGE}:ARCH
|
|
||||||
--target ${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG}
|
|
||||||
else
|
|
||||||
manifest-tool
|
manifest-tool
|
||||||
--username=${CI_REGISTRY_USER}
|
--username=${CI_REGISTRY_USER}
|
||||||
--password=${CI_REGISTRY_PASSWORD}
|
--password=${CI_REGISTRY_PASSWORD}
|
||||||
|
@ -108,7 +98,6 @@ mergeManifests:
|
||||||
--tags ${REGISTRY_PUSH_VERSION}
|
--tags ${REGISTRY_PUSH_VERSION}
|
||||||
--template ${CI_REGISTRY_IMAGE}:ARCH
|
--template ${CI_REGISTRY_IMAGE}:ARCH
|
||||||
--target ${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG}
|
--target ${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG}
|
||||||
fi
|
|
||||||
only:
|
only:
|
||||||
- stable
|
- stable
|
||||||
- develop
|
- develop
|
||||||
|
|
Loading…
Reference in a new issue