will this actually work, probably not
ci/woodpecker/push/woodpecker Pipeline is pending Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details
ci/woodpecker/deployment/woodpecker Pipeline failed Details

Patrick Cleavelin 2023-07-29 12:46:34 -05:00
parent f3c5b2b164
commit 3bdbce4985
1 changed files with 20 additions and 18 deletions

View File

@ -5,22 +5,24 @@ steps:
- apk add --no-cache git nix --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing - 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 - nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#default
#build-docker-image: build-docker-image:
# when: when:
# event: tag event: [tag, deployment]
# image: alpine:edge environment: prod
# commands: image: alpine:edge
# - echo "system-features = nixos-test benchmark big-parallel uid-range kvm" > /etc/nix/nix.conf commands:
# - nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#docker - 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: publish-image:
# when: when:
# event: tag event: [tag, deployment]
# image: git.spacegirl.nl/patrick/plugin-artifact environment: prod
# settings: image: git.spacegirl.nl/patrick/plugin-artifact
# tag: $CI_COMMIT_TAG settings:
# user: patrick tag: $CI_COMMIT_TAG
# password: user: patrick
# from_secret: forgejo_token password:
# repo: $CI_REPO from_secret: forgejo_token
# image_tar: result repo: $CI_REPO
image_tar: result