Compare commits
1 Commits
6f5e4c5811
...
785321fafd
Author | SHA1 | Date |
---|---|---|
|
785321fafd |
|
@ -1,25 +1,16 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
|
||||||
image: alpine:edge
|
|
||||||
- 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:
|
build-docker-image:
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
image: alpine:edge
|
image: alpine:edge
|
||||||
commands:
|
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
|
- 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:
|
release-image:
|
||||||
when:
|
image: plugins/gitea-release
|
||||||
event: tag
|
|
||||||
image: git.spacegirl.nl/patrick/plugin-artifact
|
|
||||||
settings:
|
settings:
|
||||||
tag: $CI_COMMIT_TAG
|
api_key: ${FORGEJO_TOKEN}
|
||||||
user: patrick
|
base_url: https://git.spacegirl.nl
|
||||||
password: $FORGEJO_TOKEN
|
files:
|
||||||
repo: $CI_REPO
|
- result
|
||||||
image_tar: result
|
|
||||||
secrets: [ forgejo_token ]
|
secrets: [ forgejo_token ]
|
||||||
|
|
Loading…
Reference in New Issue