Files
minimal-setups/.woodpecker.yml
Wolfgang Hottgenroth f96ebeb68d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
new article
2025-12-24 17:22:00 +01:00

28 lines
722 B
YAML

steps:
build:
image: plugins/kaniko
settings:
repo: ${FORGE_NAME}/${CI_REPO}
registry:
from_secret: local_registry
tags: latest,${CI_COMMIT_SHA}
username:
from_secret: local_username
password:
from_secret: local_password
build-args: "BASE_URL=https://minimal-setups.de, RELEASETAG=${CI_COMMIT_SHA}"
dockerfile: Dockerfile
deploy:
image: portainer/kubectl-shell:latest
environment:
KUBE_CONFIG_CONTENT:
from_secret: kube_config
commands:
- export IMAGE_TAG=$CI_COMMIT_SHA
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
- export KUBECONFIG=/tmp/kubeconfig
- ./deployment/deploy.sh