diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..d077513f74e129e53db0ea7ea882261dc4341562 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +image: docker:19.03.12 + +services: + - docker:19.03.12-dind + +variables: + IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG + +before_script: + - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY + +build: + tags: + - dind + script: + - docker build --pull -t $IMAGE_TAG . + - docker push $IMAGE_TAG + only: + refs: + - master