add woodpecker...
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-07-14 10:56:30 +09:00
parent c1b00047dd
commit da873b88d6
+31
View File
@@ -0,0 +1,31 @@
steps:
check:
image: node:22-alpine
commands:
- npm ci
- npm run build
when:
branch: develop
event: push
build-push:
image: docker:27-cli
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- docker build -t localhost:5000/studio-manual-fe:0.1.0 .
- docker push localhost:5000/studio-manual-fe:0.1.0
when:
branch: release
event: push
deploy:
image: bitnami/kubectl:latest
volumes:
- /home/future2/Studio_v2/woodpecker/kube/config:/tmp/kubeconfig:ro
commands:
- kubectl --kubeconfig=/tmp/kubeconfig -n studio-system rollout restart deployment/studio-manual-fe
- kubectl --kubeconfig=/tmp/kubeconfig -n studio-system rollout status deployment/studio-manual-fe
when:
branch: release
event: push