mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 04:25:13 +00:00
build stable with stable tag
This commit is contained in:
parent
4c8116859c
commit
acf3e3460f
1 changed files with 20 additions and 9 deletions
|
@ -90,15 +90,26 @@ mergeManifests:
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
script:
|
||||||
- >-
|
- >-
|
||||||
manifest-tool
|
if test "$REGISTRY_PUSH_TAG" == "stable"; then
|
||||||
--username=${CI_REGISTRY_USER}
|
manifest-tool
|
||||||
--password=${CI_REGISTRY_PASSWORD}
|
--username=${CI_REGISTRY_USER}
|
||||||
push from-args
|
--password=${CI_REGISTRY_PASSWORD}
|
||||||
--platforms linux/amd64,linux/arm64
|
push from-args
|
||||||
--tags ${REGISTRY_PUSH_VERSION}
|
--platforms linux/amd64,linux/arm64
|
||||||
--template ${CI_REGISTRY_IMAGE}:ARCH
|
--tags ${REGISTRY_PUSH_VERSION},stable
|
||||||
--target ${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG}
|
--template ${CI_REGISTRY_IMAGE}:ARCH
|
||||||
|
--target ${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG}
|
||||||
|
else
|
||||||
|
manifest-tool
|
||||||
|
--username=${CI_REGISTRY_USER}
|
||||||
|
--password=${CI_REGISTRY_PASSWORD}
|
||||||
|
push from-args
|
||||||
|
--platforms linux/amd64,linux/arm64
|
||||||
|
--tags ${REGISTRY_PUSH_VERSION}
|
||||||
|
--template ${CI_REGISTRY_IMAGE}:ARCH
|
||||||
|
--target ${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG}
|
||||||
|
fi
|
||||||
only:
|
only:
|
||||||
- stable
|
- stable
|
||||||
- develop
|
- develop
|
||||||
- tags
|
- tags
|
||||||
|
|
Loading…
Reference in a new issue