trivy-server/.woodpecker.yml

17 lines
409 B
YAML
Raw Normal View History

2025-02-03 12:50:52 +01:00
steps:
deploy:
image: quay.io/wollud1969/woodpecker-helper:0.4.1
environment:
KUBE_CONFIG_CONTENT:
from_secret: kube_config
GPG_PASSPHRASE:
from_secret: gpg_passphrase
commands:
- export IMAGE_TAG=$CI_COMMIT_TAG
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
- export KUBECONFIG=/tmp/kubeconfig
- ./install.sh
when:
- event: tag