test CI
ci/woodpecker/push/woodpecker Pipeline failed Details
ci/woodpecker/pr/woodpecker Pipeline failed Details

Patrick Cleavelin 2023-02-14 19:14:37 -06:00
parent 0e6bc2d3dd
commit 6f5e4c5811
1 changed files with 25 additions and 0 deletions

25
.woodpecker.yml Normal file
View File

@ -0,0 +1,25 @@
pipeline:
build:
image: alpine:edge
- 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:
- 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
settings:
tag: $CI_COMMIT_TAG
user: patrick
password: $FORGEJO_TOKEN
repo: $CI_REPO
image_tar: result
secrets: [ forgejo_token ]