.gitlab-ci.yml

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

11
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,11 @@
build:
image: docker:19.03.12
stage: build
services:
- docker:19.03.12-dind
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG