fix(ci): image build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter 2023-04-17 16:48:24 +02:00
parent 9c827c14cd
commit 77dc3f0c7f
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9
3 changed files with 18 additions and 1 deletions

View file

@ -6,6 +6,7 @@ name: default
steps: steps:
- name: Build image - name: Build image
image: gcr.io/kaniko-project/executor:debug image: gcr.io/kaniko-project/executor:debug
network_mode: host
commands: commands:
- | - |
echo "{\"auths\": {\"https://code.icb4dc0.de\": {\"auth\" : \"$(printf '%s:%s' $GITEA_USER $GITEA_TOKEN | base64)\" }}}" > /kaniko/.docker/config.json echo "{\"auths\": {\"https://code.icb4dc0.de\": {\"auth\" : \"$(printf '%s:%s' $GITEA_USER $GITEA_TOKEN | base64)\" }}}" > /kaniko/.docker/config.json

View file

@ -18,7 +18,7 @@ spec:
spec: spec:
containers: containers:
- name: inetmock-docs - name: inetmock-docs
image: code.icb4dc0.de/buildr/docs image: buildr-docs
ports: ports:
- name: http - name: http
containerPort: 3000 containerPort: 3000

View file

@ -1,2 +1,18 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: buildr
commonLabels:
app.kubernetes.io/instance: buildr-docs
app.kubernetes.io/managed-by: kustomize
images:
- name: buildr-docs
newName: code.icb4dc0.de/buildr/docs
newTag: latest
resources:
- "deployment.yaml"
- "service.yaml"
- "ingress.yaml"