Skip to content
Snippets Groups Projects
Commit eb45cdb6 authored by xcizek's avatar xcizek
Browse files

ci_variables_test2

parent 7c2fb3b8
Branches
1 merge request!1Draft: Resolve "Extrahovat Gateway z projketu dna-analyser"
Pipeline #158660 failed with stages
in 1 minute and 57 seconds
......@@ -2,7 +2,8 @@
variables:
SPRING_PROFILES_ACTIVE: gitlab
DOCKER_HOST: $DOCKER_HOST_BIO
IMAGE_TAG: ${$CI_COMMIT_TAG || "latest"}
IMAGE_TAG: ${$CI_COMMIT_TAG:-"latest"}
#IMAGE_TAG: $CI_COMMIT_TAG || "latest"
#services:
# - docker:dind
......@@ -60,6 +61,8 @@ docker-build:
stage: build
image: docker:git
script:
- echo $IMAGE_TAG
- echo ${$IMAGE_TAG}
- docker build -t $DOCKER_NAMESPACE/gateway:$IMAGE_TAG .
- docker save -o build/image.tar $DOCKER_NAMESPACE/gateway:$IMAGE_TAG
artifacts:
......
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