update syntax

Patrick Cleavelin 2023-07-28 15:24:25 -05:00
parent fa83ca21e3
commit 444203405d
1 changed files with 9 additions and 8 deletions

View File

@ -1,16 +1,17 @@
pipeline: steps:
build: build:
image: alpine:edge image: alpine:edge
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 - nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#default
build-docker-image: #build-docker-image:
when: # when:
event: tag # event: tag
image: alpine:edge # image: alpine:edge
commands: # commands:
- echo "system-features = nixos-test benchmark big-parallel uid-range kvm" > /etc/nix/nix.conf # - 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 # - nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#docker
#publish-image: #publish-image:
# when: # when: