Skip to content
Snippets Groups Projects
Commit 2ca19de4 authored by Éloïs's avatar Éloïs
Browse files

Add CI

parent 22ac6836
No related branches found
No related tags found
No related merge requests found
Pipeline #3640 failed
test_build_image:
image: docker:git
tags:
- docker
services:
- docker:dind
script:
- docker build .
except:
- tags
build_image:
image: docker:git
tags:
- doppler-docker
services:
- docker:dind
script:
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG" .
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG"
only:
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment