Files
scottyah-blog/.woodpecker.yml
Scott Hatlen 8cbcdc546e
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
regestry creds instead of two secrets
2025-10-17 23:32:06 -07:00

18 lines
503 B
YAML

when:
event: push
branch: main
steps:
- name: build
image: gcr.io/kaniko-project/executor:debug
commands:
- /kaniko/executor --context=dir:///woodpecker/src --dockerfile=Dockerfile --destination=harbor.scottyah.com/scottyah/blog:latest --cache=true
- name: deploy
image: bitnami/kubectl:latest
commands:
- kubectl apply -f k8s.yaml -n blog
- kubectl rollout status deployment/blog-dep -n blog
environment:
KUBECONFIG:
from_secret: kubeconfig