Commit 1b66fa59 authored by Andreas König's avatar Andreas König

fixed variable reference

parent 6e8f14ad
Pipeline #12879 failed with stage
in 1 minute and 49 seconds
......@@ -10,8 +10,8 @@ before_script:
development:
stage: deploy
script:
- docker build -t "$CI_REGISTRY_IMAGE:latest" -t "$CI_REGISTRY_IMAGE:$(CI_COMMIT_REF_NAME)" -t "$CI_REGISTRY_IMAGE:$(CI_COMMIT_SHA)" .
- docker push "$CI_REGISTRY_IMAGE:latest" "$CI_REGISTRY_IMAGE:$(CI_COMMIT_REF_NAME)" "$CI_REGISTRY_IMAGE:$(CI_COMMIT_SHA)"
- docker build -t "$CI_REGISTRY_IMAGE:latest" -t "$CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME}" -t "$CI_REGISTRY_IMAGE:${CI_COMMIT_SHA}" .
- docker push "$CI_REGISTRY_IMAGE:latest" "$CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME}" "$CI_REGISTRY_IMAGE:${CI_COMMIT_SHA}"
only:
- master
......
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