fix: update woodpecker secrets syntax to use environment/from_secret
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
jordan 2026-02-10 12:03:30 -07:00
parent 4b1c1b6bb5
commit 6b44f2eded

View File

@ -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: