Use custom build image
This commit is contained in:
parent
8a9350b114
commit
45fbd6e8a8
|
@ -8,8 +8,7 @@ variables: &nix-config
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check Flake
|
- name: Check Flake
|
||||||
image: nixos/nix:latest
|
image: nixlocal
|
||||||
pull: true
|
|
||||||
entrypoint: ["/bin/sh", "-c"]
|
entrypoint: ["/bin/sh", "-c"]
|
||||||
commands:
|
commands:
|
||||||
- nix-channel --add https://nixos.org/channels/nixos-$${NIXOS_VERSION} nixos
|
- nix-channel --add https://nixos.org/channels/nixos-$${NIXOS_VERSION} nixos
|
||||||
|
@ -21,8 +20,7 @@ steps:
|
||||||
- evaluate: 'CI_PIPELINE_EVENT != "cron" && CI_PIPELINE_EVENT != "schedule"'
|
- evaluate: 'CI_PIPELINE_EVENT != "cron" && CI_PIPELINE_EVENT != "schedule"'
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
image: nixos/nix:latest
|
image: nixlocal
|
||||||
pull: true
|
|
||||||
commands:
|
commands:
|
||||||
- nix-env -iA nixos.openssh
|
- nix-env -iA nixos.openssh
|
||||||
- eval "$(ssh-agent -s)"
|
- eval "$(ssh-agent -s)"
|
||||||
|
|
Loading…
Reference in New Issue