fix: update woodpecker secrets syntax to use environment/from_secret
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
4b1c1b6bb5
commit
6b44f2eded
@ -25,10 +25,12 @@ steps:
|
||||
|
||||
deploy:
|
||||
image: bitnami/kubectl:latest
|
||||
secrets: [kubeconfig]
|
||||
environment:
|
||||
KUBECONFIG_DATA:
|
||||
from_secret: kubeconfig
|
||||
commands:
|
||||
- mkdir -p ~/.kube
|
||||
- echo "$KUBECONFIG" > ~/.kube/config
|
||||
- echo "$KUBECONFIG_DATA" > ~/.kube/config
|
||||
- kubectl set image deployment/research-notes web=registry.threesix.ai/research-notes/web:${CI_COMMIT_SHA:0:8} -n projects
|
||||
- kubectl rollout status deployment/research-notes -n projects --timeout=120s
|
||||
when:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user