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

Update .gitlab-ci.yml

parent c95075bc
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -21,6 +21,16 @@ build_image:
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG"
- docker tag "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG" "$CI_PROJECT_PATH:$CI_BUILD_TAG"
only:
- tags
publish_image:
image: docker:git
tags:
- docker-doppler
services:
- docker:dind
script:
- docker login -u "duniterteam" -p "$DUNITERTEAM_PASSWD"
- docker push "$CI_PROJECT_PATH:$CI_BUILD_TAG"
- docker push "$CI_PROJECT_PATH"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment