Skip to content
Snippets Groups Projects
Commit c3006c96 authored by michael.minelli's avatar michael.minelli
Browse files

CI/CD => Rename folders and user env var corresponding to version of package

parent e4f6e5b7
No related branches found
No related tags found
1 merge request!1Add LICENSE
......@@ -4,9 +4,9 @@ variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR:
DOCKER_DRIVER: overlay2
DOCKERFILE: Dockerfile_ExerciceChecker
DOCKERFILE: Dockerfile_ExerciseChecker
PLATFORMS: linux/amd64,linux/arm64/v8
CHECKER_PROJECT_FOLDER: ExerciceChecker
CHECKER_PROJECT_FOLDER: ExerciseChecker
stages:
- build
......@@ -36,7 +36,7 @@ build:
script:
- apk add curl
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | sh
- mv .secure_files/env $CHECKER_PROJECT_FOLDER/.env
- mv .secure_files/env_$VERSION $CHECKER_PROJECT_FOLDER/.env
# Need to build for each platform separately because of multi-stage builds (docker buildx don't use cache same way as docker build)
- >
platform_array=$(echo $PLATFORMS | tr "," "\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment