Use distinct Gitlab runners

This commit is contained in:
Marco Streich 2021-01-22 13:40:54 +01:00
parent 96991585cd
commit 7c9c9f34d7
1 changed files with 2 additions and 0 deletions

View File

@ -15,12 +15,14 @@ before_script:
build:
stage: build
tags: [shell]
script:
- cd deploymentagent/src/deploymentagent && docker build --build-arg CI_JOB_TOKEN=$CI_JOB_TOKEN --pull -t $BUILD_IMAGE .
- docker push $BUILD_IMAGE
release:
stage: release
tags: [shell]
script:
- docker pull $BUILD_IMAGE
- docker tag $BUILD_IMAGE $RELEASE_IMAGE