Files
scottyah-blog/.woodpecker.yml
Scott Hatlen b4f9d0cee1
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
debugging
2025-10-09 00:15:46 -07:00

23 lines
478 B
YAML

when:
event: push
branch: main
steps:
- name: echo
image: alpine/git
commands:
- echo "Done"
- name: build-image
image: docker
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