memejoin-rs/.woodpecker.yml

32 lines
1.0 KiB
YAML

steps:
# 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:
# 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
build-docker-image:
image: docker
commands:
- docker build --rm -t .
# publish-image:
# when:
# event: [tag, deployment]
# environment: prod
# image: git.spacegirl.nl/patrick/plugin-artifact
# settings:
# tag: $CI_COMMIT_TAG
# user: patrick
# password:
# from_secret: forgejo_token
# repo: $CI_REPO
# image_tar: result