mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-22 16:13:09 +02:00
Update .gitlab-ci.yml
This commit is contained in:
parent
127f8556d4
commit
8c5818acf0
1 changed files with 6 additions and 3 deletions
|
@ -58,6 +58,9 @@ getImageTag:
|
||||||
- tags
|
- tags
|
||||||
buildDocker:
|
buildDocker:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
needs:
|
||||||
|
- job: getImageTag
|
||||||
|
artifacts: true
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- ARCH: amd64
|
- ARCH: amd64
|
||||||
|
@ -72,7 +75,7 @@ buildDocker:
|
||||||
/kaniko/executor
|
/kaniko/executor
|
||||||
--context "${CI_PROJECT_DIR}"
|
--context "${CI_PROJECT_DIR}"
|
||||||
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
||||||
--destination "${CI_REGISTRY_IMAGE}:${ARCH}"
|
--destination "${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG}-${ARCH}"
|
||||||
only:
|
only:
|
||||||
- stable
|
- stable
|
||||||
- develop
|
- develop
|
||||||
|
@ -97,9 +100,9 @@ mergeManifests:
|
||||||
push from-args
|
push from-args
|
||||||
--platforms linux/amd64,linux/arm64
|
--platforms linux/amd64,linux/arm64
|
||||||
--tags ${REGISTRY_PUSH_VERSION}
|
--tags ${REGISTRY_PUSH_VERSION}
|
||||||
--template ${CI_REGISTRY_IMAGE}:ARCH
|
--template ${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG}-ARCH
|
||||||
--target ${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG}
|
--target ${CI_REGISTRY_IMAGE}:${REGISTRY_PUSH_TAG}
|
||||||
only:
|
only:
|
||||||
- stable
|
- stable
|
||||||
- develop
|
- develop
|
||||||
- tags
|
- tags
|
||||||
|
|
Loading…
Reference in a new issue