Skip to content
Snippets Groups Projects
Commit b851bf73 authored by xkoloma1's avatar xkoloma1
Browse files

Update .gitlab-ci.yml file

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