will this actually work, probably not

Patrick Cleavelin 2023-07-29 12:46:34 -05:00
parent 444203405d
commit 182de458ee
1 changed files with 21 additions and 21 deletions

View File

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