Files
scottyah-blog/.woodpecker.yml
Scott Hatlen 2865946fa8
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
wrong directory
2025-10-08 22:49:11 -07:00

18 lines
411 B
YAML

when:
event: push
branch: main
steps:
- name: build-image
image: docker:dind
commands:
- docker build -t scottyah/blog:latest .
- docker push scottyah/blog:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- name: deploy
image: kubernetes/client:latest
commands:
- kubectl apply -f k8s.yaml
- kubectl rollout status deployment/blog-dep