Commit 99526d32 authored by marmaduke's avatar marmaduke

try tag by ref

parent aff58d1a
Pipeline #2872 failed with stage
in 48 seconds
......@@ -2,9 +2,13 @@ variables:
repo: gitlab.thevirtualbrain.org:5000
tag: docker/pipeline
stages:
- build
- push_tag
build:
stage: build
script:
- docker build -t $repo/$tag .
- docker build -t $repo/$tag:CI_COMMIT_REF_NAME .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $repo
- docker push $repo/$tag
- docker push $repo/$tag:$CI_COMMIT_REF_NAME
\ No newline at end of file
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