Files
scottyah-blog/.woodpecker.yml
Scott Hatlen 4639752616
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
insecure
2025-10-17 23:41:43 -07:00

20 lines
573 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 --skip-tls-verify
environment:
DOCKER_CONFIG: /root/.docker
- 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