1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 07:52:43 +00:00

Add ARM builds

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-03-03 10:11:01 +01:00
parent dc554adc8e
commit 8b0e4e5188
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -204,7 +204,7 @@ build-docker-tag:
variables:
DOCKER_IMAGE_NAME: framasoft/mobilizon:$CI_COMMIT_TAG
package-app:
package-app-amd64:
stage: package
variables: &release-variables
MIX_ENV: "prod"
@ -215,8 +215,38 @@ package-app:
- mix phx.digest
- mix release --path release/mobilizon
- cd release/mobilizon && ln -s lib/mobilizon-*/priv priv
only:
- tags@framasoft/mobilizon
# only:
# - tags@framasoft/mobilizon
artifacts:
expire_in: never
paths:
- release
package-app-arm64:
stage: package
image: arm64v8/elixir:1.11
tags:
- arm64
variables: &release-variables
MIX_ENV: "prod"
script: *release-script
# only:
# - tags@framasoft/mobilizon
artifacts:
expire_in: never
paths:
- release
package-app-arm:
stage: package
image: arm32v7/elixir:1.11
tags:
- arm32
variables: &release-variables
MIX_ENV: "prod"
script: *release-script
# only:
# - tags@framasoft/mobilizon
artifacts:
expire_in: never
paths: