one workflow
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Scott Hatlen
2025-10-08 22:16:56 -07:00
parent 29a2cfe813
commit b4a70a6110
2 changed files with 14 additions and 19 deletions

View File

@@ -1,5 +1,16 @@
when:
- event: push
branch: main
steps:
- name: hello
image: alpine
- name: build_image
image: docker:dind
commands:
- echo "Hello from CI"
- docker build -t scottyah/blog:latest .
- docker push scottyah/blog:latest
- name: deploy
image: kubernetes/client:latest
commands:
- kubectl apply -f kubernetes/k8s.yaml
- kubectl rollout status deployment/blog-dep

View File

@@ -1,16 +0,0 @@
when:
- event: push
branch: main
steps:
- name: build_image
image: docker:dind
commands:
- docker build -t scottyah/blog:latest .
- docker push scottyah/blog:latest
- name: deploy
image: kubernetes/client:latest
commands:
- kubectl apply -f kubernetes/k8s.yaml
- kubectl rollout status deployment/blog-dep