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

Add new file

parent 39727986
No related branches found
No related tags found
No related merge requests found
Pipeline #
test_build_image:
image: docker:git
tags:
- docker
services:
- docker:dind
script:
- docker build .
except:
- tags
build_image:
image: docker:git
tags:
- 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.
Finish editing this message first!
Please register or to comment