.gitlab-ci.yml

This commit is contained in:
Alexey Skobkin 2021-12-20 20:05:21 +03:00
parent 64647248db
commit 22ef3b0e3c
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -4,7 +4,7 @@ build:
services: services:
- docker:19.03.12-dind - docker:19.03.12-dind
variables: variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG IMAGE_TAG: $CI_REGISTRY_IMAGE
script: 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
- docker build -t $IMAGE_TAG . - docker build -t $IMAGE_TAG .