This commit is contained in:
parent
88e215cad6
commit
809cc97378
1 changed files with 14 additions and 17 deletions
|
@ -1,24 +1,21 @@
|
|||
|
||||
pipeline:
|
||||
build-image:
|
||||
image: docker.io/woodpeckerci/plugin-docker-buildx
|
||||
secrets: [docker_username, docker_password]
|
||||
settings:
|
||||
registry: https://gitea.nulo.in
|
||||
username: Nulo
|
||||
repo: gitea.nulo.in/nulo/schreiben-build
|
||||
dockerfile: tooling/Containerfile
|
||||
when:
|
||||
path:
|
||||
include: ["tooling/*", ".woodpecker.yml"]
|
||||
|
||||
build:
|
||||
image: gitea.nulo.in/nulo/schreiben-build:latest
|
||||
deps:
|
||||
image: gitea.nulo.in/nulo/super-image:3.17
|
||||
commands:
|
||||
- pnpm install
|
||||
- pnpm check
|
||||
build:
|
||||
image: gitea.nulo.in/nulo/super-image:3.17
|
||||
group: build
|
||||
commands:
|
||||
- pnpm build
|
||||
|
||||
check:
|
||||
image: gitea.nulo.in/nulo/super-image:3.17
|
||||
group: build
|
||||
commands:
|
||||
- pnpm check
|
||||
upload:
|
||||
image: gitea.nulo.in/nulo/super-image:3.17
|
||||
commands:
|
||||
- |
|
||||
eval $(ssh-agent -s)
|
||||
echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
|
||||
|
|
Loading…
Reference in a new issue