Commit daf9dae8 authored by Sandro Mathys's avatar Sandro Mathys
Browse files

disable dependency proxy usage again, as it's not currently compatible with kaniko

parent fd69233c
......@@ -33,14 +33,18 @@ build:
except:
- tags
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --build-arg CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX="${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}" --no-push
# TODO: Sadly the GitLab Dependency Proxy is not currently compatible with Kaniko - should be fixed in GitLab 13.10+
# - /kaniko/executor --context "${CI_PROJECT_DIR}" --build-arg CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX="${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}" --no-push
- /kaniko/executor --context "${CI_PROJECT_DIR}" --no-push
push:
stage: kaniko
only:
- tags
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --build-arg CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX="${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
# TODO: Sadly the GitLab Dependency Proxy is not currently compatible with Kaniko - should be fixed in GitLab 13.10+
# - /kaniko/executor --context "${CI_PROJECT_DIR}" --build-arg CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX="${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
- /kaniko/executor --context "${CI_PROJECT_DIR}" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
release:
inherit:
......
ARG CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX
# TODO: Sadly the GitLab Dependency Proxy is not currently compatible with Kaniko - should be fixed in GitLab 13.10+
# ARG CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX
# FROM ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/ubuntu:focal
FROM ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/ubuntu:focal
FROM cr.gitlab-int.switch.ch/maps/upstream-images/ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment