Commit 9b56bac9 authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

tag docker images from dev branch

parent 5602fabb
Pipeline #122545 passed with stage
in 2 minutes and 34 seconds
......@@ -5,6 +5,7 @@ services:
variables:
CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA
CONTAINER_DEPLOY_IMAGE: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:latest
before_script:
- docker info
......@@ -12,6 +13,7 @@ before_script:
stages:
- build
- deploy
build_develop:
stage: build
......@@ -21,4 +23,12 @@ build_develop:
except:
- master
deploy_develop:
stage: deploy
script:
- docker pull $CONTAINER_TEST_IMAGE
- docker tag $CONTAINER_TEST_IMAGE $CONTAINER_DEPLOY_IMAGE
- docker push $CONTAINER_DEPLOY_IMAGE
only:
- develop
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment