will this actually work, probably not
parent
f3c5b2b164
commit
3bdbce4985
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue