Commit 704cbc68 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren deploy/api-dep.yaml, .gitlab-ci.yml

parent be09af0f
Pipeline #95337 passed with stages
in 2 minutes and 13 seconds
image: "thlmylab/swakkd:1.23"
image: "thlmylab/swakkd:stable"
stages:
- prepare
......@@ -9,8 +9,8 @@ stages:
secrets:
stage: prepare
script:
- kubectl delete secret gitlab-registry-credentials || true
- "kubectl create secret docker-registry gitlab-registry-credentials \
- kubectl delete secret gitlab-registry-$CI_PROJECT_ID || true
- "kubectl create secret docker-registry gitlab-registry-$CI_PROJECT_ID \
--docker-server=$CI_REGISTRY \
--docker-username=image-registry \
--docker-password=$CI_REGISTRY_TOKEN \
......
......@@ -12,7 +12,7 @@ spec:
app: api
spec:
imagePullSecrets:
- name: gitlab-registry-credentials
- name: gitlab-registry-{{ CI_PROJECT_ID }}
containers:
- name: api
image: {{ CI_REGISTRY_IMAGE }}/api:latest
......
Supports Markdown
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