Use custom build image
ci/woodpecker/push/deploy Pipeline was successful Details
ci/woodpecker/manual/deploy Pipeline was successful Details

This commit is contained in:
Ciapa 2024-05-20 18:15:06 +02:00
parent 8a9350b114
commit 45fbd6e8a8
1 changed files with 2 additions and 4 deletions

View File

@ -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)"