Commit 9ed555f3 authored by Finn Herzfeld's avatar Finn Herzfeld 🌵

shuffle some CI stuff around

parent 519dcffd
Pipeline #1590 passed with stages
in 4 minutes and 20 seconds
......@@ -4,9 +4,9 @@ build:
image: docker:latest
stage: build
retry: 2
script:
- docker info
before_script:
- docker login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
script:
- docker build -t ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA:0:8} .
- docker tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA:0:8} ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}
- docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA:0:8}
......
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