This commit is contained in:
parent
9c827c14cd
commit
77dc3f0c7f
3 changed files with 18 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
Loading…
Reference in a new issue