Update .gitlab-ci.yml file
This commit is contained in:
parent
ab4df64635
commit
69129b703e
@ -15,10 +15,8 @@
|
||||
|
||||
stages: # List of stages for jobs, and their order of execution
|
||||
- build
|
||||
- test
|
||||
- deploy
|
||||
|
||||
build-job: # This job runs in the build stage, which runs first.
|
||||
build-dev: # This job runs in the build stage, which runs first.
|
||||
stage: build
|
||||
tags:
|
||||
- buildx
|
||||
@ -30,3 +28,21 @@ build-job: # This job runs in the build stage, which runs first.
|
||||
|
||||
|
||||
- echo "Compile complete."
|
||||
only:
|
||||
- master
|
||||
|
||||
build-release: # This job runs in the build stage, which runs first.
|
||||
stage: build
|
||||
tags:
|
||||
- buildx
|
||||
script:
|
||||
- echo "Compiling the code..."
|
||||
- cd docker-configs
|
||||
- docker buildx build --no-cache -f Dockerfile-proxy -t hacknix/freedmr:latest -t hacknix/$CI_COMMIT_TAG-with-proxy -t hacknix/freedmr:development-latest --platform linux/arm/v7,linux/amd64,linux/i386,linux/arm64 --push .
|
||||
|
||||
|
||||
|
||||
- echo "Compile complete."
|
||||
only:
|
||||
- master
|
||||
- tags
|
||||
|
Loading…
Reference in New Issue
Block a user