Skip to content
Snippets Groups Projects
Commit 750b8c76 authored by Julian Bauknecht's avatar Julian Bauknecht
Browse files

Update .gitlab-ci.yml

parent 317dee24
No related branches found
No related tags found
No related merge requests found
Pipeline #21717 failed
......@@ -8,7 +8,7 @@
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker pull $CI_REGISTRY_IMAGE/$TAG || true
- export DOCKER_BUILDKIT=1
- docker build --cache-from $CI_REGISTRY_IMAGE/$TAG -t $CI_REGISTRY_IMAGE/$TAG -f $DOCKERFILE .
- docker build --cache-from $CI_REGISTRY_IMAGE/$TAG:$CI_COMMIT_BRANCH -t $CI_REGISTRY_IMAGE/$TAG:$CI_COMMIT_BRANCH -f $DOCKERFILE .
- docker push $CI_REGISTRY_IMAGE/$TAG:$CI_COMMIT_BRANCH
# In case we are not on the main branch, we only want to do build testing for
# the image, without pushing anything to the registry.
......
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