Skip to content
Snippets Groups Projects
Commit 59c71669 authored by HeJ's avatar HeJ
Browse files

Merge branch 'fix/docker-registry' into 'develop'

Add REGISTRY ARG to the Dockerfile

See merge request !1002
parents 168d8000 15f630ef
Branches
Tags
No related merge requests found
...@@ -79,6 +79,7 @@ default: ...@@ -79,6 +79,7 @@ default:
KANIKO_ARGS: KANIKO_ARGS:
--skip-unused-stages=true --skip-unused-stages=true
--context $CI_PROJECT_DIR --context $CI_PROJECT_DIR
--build-arg REGISTRY=git.cccv.de/crews/hub/dependency_proxy/containers/
before_script: before_script:
- | - |
cat > /kaniko/.docker/config.json <<EOF cat > /kaniko/.docker/config.json <<EOF
......
FROM git.cccv.de/crews/hub/dependency_proxy/containers/python:3.13-bookworm as base ARG REGISTRY=""
FROM ${REGISTRY}python:3.13-bookworm as base
ARG DEVELOPMENT=False ARG DEVELOPMENT=False
...@@ -80,7 +81,7 @@ RUN export DJANGO_SETTINGS_MODULE='hub.settings.build' && \ ...@@ -80,7 +81,7 @@ RUN export DJANGO_SETTINGS_MODULE='hub.settings.build' && \
######################################### [nginx] ############################# ######################################### [nginx] #############################
FROM git.cccv.de/crews/hub/dependency_proxy/containers/nginx:1.25-alpine-slim as nginx-forwarder FROM ${REGISTRY}nginx:1.25-alpine-slim as nginx-forwarder
ENV APP_SOCKET="/run/hub/app.sock" ENV APP_SOCKET="/run/hub/app.sock"
ENV SCRIPT_NAME="" ENV SCRIPT_NAME=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment