Compare commits

...

1 Commits

Author SHA1 Message Date
Patrick Cleavelin 2489379c4b test CI
ci/woodpecker/tag/woodpecker Pipeline failed Details
2023-02-15 18:55:17 -06:00
1 changed files with 27 additions and 0 deletions

27
.woodpecker.yml Normal file
View File

@ -0,0 +1,27 @@
pipeline:
build:
image: alpine:edge
commands:
- apk add --no-cache git nix --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#default
build-docker-image:
when:
event: tag
image: alpine:edge
commands:
- apk add --no-cache git nix --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
- echo "system-features = nixos-test benchmark big-parallel uid-range kvm" > /etc/nix/nix.conf
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#docker
publish-image:
when:
event: tag
image: git.spacegirl.nl/patrick/plugin-artifact:v0.1.0
settings:
tag: $${CI_COMMIT_TAG}
user: patrick
password:
from_secret: forgejo_token
repo: $${CI_REPO}
image_tar: result