2023-02-18 10:34:27 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: ko
|
|
|
|
image: gcr.io/kaniko-project/executor:debug
|
|
|
|
network_mode: host
|
|
|
|
commands:
|
|
|
|
- >
|
|
|
|
echo "{\"auths\": {\"https://code.icb4dc0.de\": {\"auth\" : \"$(printf '%s:%s' $$GITEA_USER $$GITEA_TOKEN | base64)\" }}}" > /kaniko/.docker/config.json
|
|
|
|
- /kaniko/executor --destination "$${IMAGE_REPO}:$${IMAGE_TAG}" --context "$${BUILD_CONTEXT}"
|
|
|
|
environment:
|
|
|
|
GITEA_USER: prskr
|
|
|
|
GITEA_TOKEN:
|
|
|
|
from_secret: gitea_token
|
|
|
|
IMAGE_REPO: code.icb4dc0.de/prskr/ci-images/ko
|
|
|
|
IMAGE_TAG: latest
|
|
|
|
BUILD_CONTEXT: ko/
|
|
|
|
|
|
|
|
- name: dind-go
|
|
|
|
image: gcr.io/kaniko-project/executor:debug
|
|
|
|
network_mode: host
|
|
|
|
commands:
|
|
|
|
- >
|
|
|
|
echo "{\"auths\": {\"https://code.icb4dc0.de\": {\"auth\" : \"$(printf '%s:%s' $$GITEA_USER $$GITEA_TOKEN | base64)\" }}}" > /kaniko/.docker/config.json
|
|
|
|
- /kaniko/executor --destination "$${IMAGE_REPO}:$${IMAGE_TAG}" --context "$${BUILD_CONTEXT}"
|
|
|
|
environment:
|
|
|
|
GITEA_USER: prskr
|
|
|
|
GITEA_TOKEN:
|
|
|
|
from_secret: gitea_token
|
|
|
|
IMAGE_REPO: code.icb4dc0.de/prskr/ci-images/dind-go
|
|
|
|
IMAGE_TAG: latest
|
|
|
|
BUILD_CONTEXT: dind-go/
|
|
|
|
|
|
|
|
- name: caddy
|
|
|
|
image: gcr.io/kaniko-project/executor:debug
|
|
|
|
network_mode: host
|
|
|
|
commands:
|
|
|
|
- >
|
|
|
|
echo "{\"auths\": {\"https://code.icb4dc0.de\": {\"auth\" : \"$(printf '%s:%s' $$GITEA_USER $$GITEA_TOKEN | base64)\" }}}" > /kaniko/.docker/config.json
|
|
|
|
- /kaniko/executor --destination "$${IMAGE_REPO}:$${IMAGE_TAG}" --context "$${BUILD_CONTEXT}"
|
|
|
|
environment:
|
|
|
|
GITEA_USER: prskr
|
|
|
|
GITEA_TOKEN:
|
|
|
|
from_secret: gitea_token
|
|
|
|
IMAGE_REPO: code.icb4dc0.de/prskr/ci-images/caddy
|
|
|
|
IMAGE_TAG: latest
|
2023-02-28 19:25:55 +00:00
|
|
|
BUILD_CONTEXT: caddy/
|
|
|
|
|
|
|
|
- name: renovate
|
|
|
|
image: gcr.io/kaniko-project/executor:debug
|
|
|
|
network_mode: host
|
|
|
|
commands:
|
|
|
|
- >
|
|
|
|
echo "{\"auths\": {\"https://code.icb4dc0.de\": {\"auth\" : \"$(printf '%s:%s' $$GITEA_USER $$GITEA_TOKEN | base64)\" }}}" > /kaniko/.docker/config.json
|
|
|
|
- /kaniko/executor --destination "$${IMAGE_REPO}:$${IMAGE_TAG}" --context "$${BUILD_CONTEXT}"
|
|
|
|
environment:
|
|
|
|
GITEA_USER: prskr
|
|
|
|
GITEA_TOKEN:
|
|
|
|
from_secret: gitea_token
|
|
|
|
IMAGE_REPO: code.icb4dc0.de/prskr/ci-images/renovate
|
|
|
|
IMAGE_TAG: latest
|
|
|
|
BUILD_CONTEXT: renovate/
|