added kaniko

This commit is contained in:
Malte Grosse 2024-01-31 11:29:58 +01:00
parent 5d5519fb55
commit b14db4d128
3 changed files with 29 additions and 14 deletions

19
.woodpecker copy.yml Normal file
View File

@ -0,0 +1,19 @@
steps:
publish-container:
image: quay.io/thegeeklab/wp-docker-buildx:3.0.0
secrets: [ docker_username, docker_password ]
privileged: true
group: docker
settings:
registry: https://git.sandbox.iuk.hdm-stuttgart.de
repo: git.sandbox.iuk.hdm-stuttgart.de/grosse/jupyterhub
dockerfile: Dockerfile
tags: 2.0.0
username: $DOCKER_USERNAME
password: $DOCKER_PASSWORD
backend_options:
kubernetes:
securityContext:
runAsUser: 999
runAsGroup: 999
privileged: true

View File

@ -1,19 +1,14 @@
steps:
publish-container:
image: quay.io/thegeeklab/wp-docker-buildx:3.0.0
secrets: [ docker_username, docker_password ]
privileged: true
group: docker
build_and_release:
image: gitea.mdg-hamburg.de/ci-tools/plugin-kaniko:debug
pull: true
settings:
registry: https://git.sandbox.iuk.hdm-stuttgart.de
repo: git.sandbox.iuk.hdm-stuttgart.de/grosse/jupyterhub
dockerfile: Dockerfile
tags: 2.0.0
username: $DOCKER_USERNAME
password: $DOCKER_PASSWORD
backend_options:
kubernetes:
securityContext:
runAsUser: 999
runAsGroup: 999
privileged: true
cache: true
dockerfile: Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password

1
config.json Normal file
View File

@ -0,0 +1 @@
{"auths":{"":{"auth":"Og=="}}}