Skip to content
Snippets Groups Projects
Commit 2750b16f authored by Moul's avatar Moul
Browse files

Update .gitlab.yml with latest CI env variables

parent 88236cb2
No related branches found
No related tags found
1 merge request!1Fix Docker installations, Fix CI env vars
Pipeline #38087 passed
......@@ -14,12 +14,10 @@ build_image:
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 push "$CI_REGISTRY_IMAGE:$CI_BUILD_TAG"
- docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG"
only:
- tags
tags:
- docker
# simple edit to trigger this old pipeline again
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment