Commit 1c78b75e authored by Baranovskyi's avatar Baranovskyi
Browse files

Update .gitlab-ci.yml file

parent 2b2ac942
...@@ -23,8 +23,8 @@ build-docker-image: ...@@ -23,8 +23,8 @@ build-docker-image:
image: docker:latest image: docker:latest
stage: build stage: build
services: services:
- docker:dind - name: docker:dind
command: ["--tls=false"] command: ["--tls=false"]
before_script: before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY" - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
script: script:
...@@ -59,4 +59,4 @@ deploy-to-bw-cloud: ...@@ -59,4 +59,4 @@ deploy-to-bw-cloud:
docker run -d --name flask-container -p 5001:5000 $CI_REGISTRY_IMAGE:$tag docker run -d --name flask-container -p 5001:5000 $CI_REGISTRY_IMAGE:$tag
" "
only: only:
- main - main
\ No newline at end of file
Supports Markdown
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