Use distinct Gitlab runners
This commit is contained in:
parent
96991585cd
commit
7c9c9f34d7
|
@ -15,12 +15,14 @@ before_script:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
tags: [shell]
|
||||||
script:
|
script:
|
||||||
- cd deploymentagent/src/deploymentagent && docker build --build-arg CI_JOB_TOKEN=$CI_JOB_TOKEN --pull -t $BUILD_IMAGE .
|
- cd deploymentagent/src/deploymentagent && docker build --build-arg CI_JOB_TOKEN=$CI_JOB_TOKEN --pull -t $BUILD_IMAGE .
|
||||||
- docker push $BUILD_IMAGE
|
- docker push $BUILD_IMAGE
|
||||||
|
|
||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
|
tags: [shell]
|
||||||
script:
|
script:
|
||||||
- docker pull $BUILD_IMAGE
|
- docker pull $BUILD_IMAGE
|
||||||
- docker tag $BUILD_IMAGE $RELEASE_IMAGE
|
- docker tag $BUILD_IMAGE $RELEASE_IMAGE
|
||||||
|
|
Loading…
Reference in New Issue