Update .gitlab-ci.yml file

This commit is contained in:
Christoph Urlacher
2022-01-19 14:31:42 +00:00
parent 921621c406
commit eb7a97ad4c

View File

@ -5,15 +5,9 @@ stages:
- build
- push
variables:
# fill those if you have a proxy in your environment
http_proxy: ""
https_proxy: ""
no_proxy: ""
# Use this if your GitLab runner does not use socket binding
# services:
# - docker:dind
- docker:dind
before_script:
# docker login asks for the password to be passed through stdin for security
@ -33,9 +27,6 @@ Build:
- >
docker build
--pull
--build-arg http_proxy=$http_proxy
--build-arg https_proxy=$https_proxy
--build-arg no_proxy=$no_proxy
--cache-from $CI_REGISTRY_IMAGE:latest
--label "org.opencontainers.image.title=$CI_PROJECT_TITLE"
--label "org.opencontainers.image.url=$CI_PROJECT_URL"