Skip to content
Snippets Groups Projects
Commit 3c6bc23a authored by Michal Strnad's avatar Michal Strnad
Browse files

Fix .gitlab-ci.yml

parent 87b14041
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ stages:
before_script:
- docker info
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker pull "$IMAGE_TAG" || true
- docker build --cache-from "$IMAGE_TAG" -t "$IMAGE_TAG" "$IMAGE_PATH" || docker build --no-cache -t "$IMAGE_TAG" "$IMAGE_PATH"
- docker push "$IMAGE_TAG"
......
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