forked from potsda.mn/mobilizon
Update arm/arm64 packages as well
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
89bbafb44c
commit
ccce64d6cb
|
@ -313,21 +313,27 @@ multi-arch-release:
|
|||
when: never
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
- if: $CI_COMMIT_TAG
|
||||
timeout: 3h
|
||||
|
||||
# Release
|
||||
release-upload:
|
||||
stage: upload
|
||||
image: framasoft/yakforms-assets-deploy:latest
|
||||
variables:
|
||||
APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}.tar.gz"
|
||||
rules: *tag-rules
|
||||
script:
|
||||
- eval `ssh-agent -s`
|
||||
- ssh-add <(echo "${DEPLOYEMENT_KEY}" | base64 --decode -i)
|
||||
- echo "put -r mobilizon_*.tar.gz" | sftp -o "VerifyHostKeyDNS yes" ${DEPLOYEMENT_USER}@${DEPLOYEMENT_HOST}:public/
|
||||
- echo "put -r ${APP_ASSET}" | sftp -o "VerifyHostKeyDNS yes" ${DEPLOYEMENT_USER}@${DEPLOYEMENT_HOST}:public/
|
||||
artifacts:
|
||||
expire_in: 1 day
|
||||
when: on_success
|
||||
paths:
|
||||
- mobilizon_*.tar.gz
|
||||
parallel:
|
||||
matrix:
|
||||
- ARCH: ["amd64", "arm", "arm64"]
|
||||
|
||||
release-create:
|
||||
stage: deploy
|
||||
|
|
Loading…
Reference in a new issue