Compare commits

..

1 Commits

Author SHA1 Message Date
Patrick Cleavelin 6f5e4c5811 test CI
ci/woodpecker/push/woodpecker Pipeline failed Details
ci/woodpecker/pr/woodpecker Pipeline failed Details
2023-02-15 17:50:10 -06:00
1 changed files with 16 additions and 7 deletions

View File

@ -1,16 +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:
- 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
release-image:
image: plugins/gitea-release
publish-image:
when:
event: tag
image: git.spacegirl.nl/patrick/plugin-artifact
settings:
api_key: ${FORGEJO_TOKEN}
base_url: https://git.spacegirl.nl
files:
- result
tag: $CI_COMMIT_TAG
user: patrick
password: $FORGEJO_TOKEN
repo: $CI_REPO
image_tar: result
secrets: [ forgejo_token ]