Use different path for volume

This commit is contained in:
teutat3s 2021-10-24 23:13:13 +02:00
parent a79834c15a
commit 6b67d08edd
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -116,7 +116,7 @@ steps:
image: nixpkgs/nix-flakes:nixos-21.05 image: nixpkgs/nix-flakes:nixos-21.05
volumes: volumes:
- name: nix-store - name: nix-store
path: /nix/store path: /var/nix/iso-cache
when: when:
event: event:
- push - push
@ -129,12 +129,13 @@ steps:
- echo "trusted-public-keys = nrdxp.cachix.org-1:Fc5PSqY2Jm1TrWfm88l6cvGWwz3s93c6IOifQWnhNW4= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" >> /etc/nix/nix.conf - echo "trusted-public-keys = nrdxp.cachix.org-1:Fc5PSqY2Jm1TrWfm88l6cvGWwz3s93c6IOifQWnhNW4= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" >> /etc/nix/nix.conf
- nix-shell - nix-shell
- bud build bootstrap bootstrapIso - bud build bootstrap bootstrapIso
- cp $(readlink -f result)/iso/*.iso /var/nix/iso-cache/
- name: "Publish ISO" - name: "Publish ISO"
image: appleboy/drone-scp image: appleboy/drone-scp
volumes: volumes:
- name: nix-store - name: nix-store
path: /nix/store path: /var/nix/iso-cache
settings: settings:
host: host:
from_secret: ssh_host from_secret: ssh_host
@ -151,10 +152,10 @@ steps:
volumes: volumes:
- name: nix-store - name: nix-store
host: host:
path: "/var/nix/build-store" path: "/var/nix/iso-cache"
--- ---
kind: signature kind: signature
hmac: d20bd6483d36dbc68677e3fcac26da8680beeba20684a80c64bcb1be818e8765 hmac: b5366c36f19140ef6c884cc7b5455b6e4e5cd803c5e7d1ed7414bf246bf7f7ed
... ...