mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-11 01:53:23 +01:00
added runner tags so docker builds get assigned a runner
This commit is contained in:
parent
59f090cd91
commit
bbac5b3dda
@ -65,7 +65,6 @@ test:cargo:
|
||||
- docker
|
||||
|
||||
build:docker-master:
|
||||
stage: build
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:debug
|
||||
entrypoint: [""]
|
||||
@ -75,9 +74,11 @@ build:docker-master:
|
||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:latest
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- linux
|
||||
- docker
|
||||
|
||||
build:docker-releases:
|
||||
stage: build
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:debug
|
||||
entrypoint: [""]
|
||||
@ -87,9 +88,11 @@ build:docker-releases:
|
||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
- linux
|
||||
- docker
|
||||
|
||||
build:docker-development:
|
||||
stage: build
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:debug
|
||||
entrypoint: [""]
|
||||
@ -99,6 +102,9 @@ build:docker-development:
|
||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:dev-$CI_COMMIT_TAG
|
||||
only:
|
||||
- development
|
||||
tags:
|
||||
- linux
|
||||
- docker
|
||||
|
||||
# cache dependencies and build environment to speed up setup
|
||||
cache:
|
||||
|
Loading…
Reference in New Issue
Block a user