feat: unify woodpecker steps
All checks were successful
ci/woodpecker/push/build-and-deploy Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-deploy Pipeline was successful
This commit is contained in:
parent
a2bb2bfecc
commit
067e122bfa
2 changed files with 11 additions and 19 deletions
|
|
@ -6,6 +6,17 @@ when:
|
|||
|
||||
steps:
|
||||
|
||||
# build mkdocs container
|
||||
- name: "build"
|
||||
image: "cr.simoncor.net/quay/buildah/stable:latest"
|
||||
privileged: true
|
||||
commands:
|
||||
|
||||
# build and push mkdocs container
|
||||
- "buildah bud -t docs-simoncor-net ."
|
||||
- "buildah tag docs-simoncor-net cr.simoncor.net/docs-simoncor-net:latest"
|
||||
- "buildah push cr.simoncor.net/docs-simoncor-net:latest"
|
||||
|
||||
# deploy docs-simoncor-net
|
||||
- name: "argo"
|
||||
depends_on: "build"
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
when:
|
||||
- event: "push"
|
||||
branch: "main"
|
||||
- event: "manual"
|
||||
|
||||
steps:
|
||||
|
||||
# build mkdocs container
|
||||
- name: "build"
|
||||
image: "cr.simoncor.net/quay/buildah/stable:latest"
|
||||
privileged: true
|
||||
commands:
|
||||
|
||||
# build and push mkdocs container
|
||||
- "buildah bud -t docs-simoncor-net ."
|
||||
- "buildah tag docs-simoncor-net cr.simoncor.net/docs-simoncor-net:latest"
|
||||
- "buildah push cr.simoncor.net/docs-simoncor-net:latest"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue