17 lines
409 B
YAML
17 lines
409 B
YAML
|
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
|
||
|
|