Commit 4674b711 authored by Jens Langhammer's avatar Jens Langhammer

ci: switch docker image to docker.pkg.beryju.org

parent 9655e7c7
Pipeline #3235 passed with stages
in 3 minutes and 58 seconds
......@@ -37,9 +37,9 @@ package-docker:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
before_script:
- echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"username\":\"$DOCKER_USERNAME\",\"password\":\"$DOCKER_PASSWORD\"}}}" > /kaniko/.docker/config.json
- echo "{\"auths\":{\"https://docker.$NEXUS_URL/\":{\"username\":\"$NEXUS_USER\",\"password\":\"$NEXUS_PASS\"}}}" > /kaniko/.docker/config.json
script:
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination beryjuorg/pyazo:stable --destination beryjuorg/pyazo:1.8.8
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination docker.pkg.beryju.org/pyazo:stable --destination docker.pkg.beryju.org/pyazo:1.8.8
stage: build
only:
- tags
......
......@@ -28,14 +28,14 @@ spec:
claimName: {{ include "pyazo.fullname" . }}-data
initContainers:
- name: fix-volume-permissions
image: "beryjuorg/pyazo:{{ .Values.image.tag }}"
image: "docker.pkg.beryju.org/pyazo:{{ .Values.image.tag }}"
command: ["sh", "-c", "chown -R pyazo:pyazo /app/media"]
volumeMounts:
- mountPath: /app/media
name: media-storage
containers:
- name: {{ .Chart.Name }}
image: "beryjuorg/pyazo:{{ .Values.image.tag }}"
image: "docker.pkg.beryju.org/pyazo:{{ .Values.image.tag }}"
imagePullPolicy: IfNotPresent
command: ["./manage.py", "web"]
ports:
......
......@@ -28,7 +28,7 @@ spec:
claimName: {{ include "pyazo.fullname" . }}-data
containers:
- name: {{ .Chart.Name }}
image: "beryjuorg/pyazo:{{ .Values.image.tag }}"
image: "docker.pkg.beryju.org/pyazo:{{ .Values.image.tag }}"
imagePullPolicy: IfNotPresent
command: ["./manage.py", "worker"]
ports:
......
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