Merge pull request 'drone: use our custom drone-scp image' (#146) from fix/drone-publish-iso-symlink into main

Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/146
This commit is contained in:
teutat3s 2022-10-21 13:08:52 +00:00
commit 51d03f0de7
No known key found for this signature in database
GPG key ID: 5FEAFA6A0FC8075D

View file

@ -108,7 +108,9 @@ steps:
- nix run nixpkgs#gnused -- --in-place "s/$ISO_NAME/PubSolarOS-latest.iso/" PubSolarOS-latest.iso.sha256
- name: "Publish ISO"
image: appleboy/drone-scp
# custom drone-scp image, source: https://git.b12f.io/pub-solar/drone-scp/
# docker build --tag registry.greenbaum.cloud/library/drone-scp:v1.6.5 --file ./docker/Dockerfile.linux.amd64 .
image: registry.greenbaum.cloud/library/drone-scp:v1.6.5
volumes:
- name: file-exchange
path: /var/nix/iso-cache
@ -125,7 +127,7 @@ steps:
source:
- /var/nix/iso-cache/*.iso
- /var/nix/iso-cache/*.iso.sha256
overwrite: true
unlink_first: true
strip_components: 3
depends_on:
@ -143,6 +145,6 @@ volumes:
---
kind: signature
hmac: 8823c7103f6a075bb291a497c7ab5d5db47a91f9bc7d8ef95329b5620c9cf91d
hmac: 3e6a89e903e214f21d488eba82863683b130ef6dbc2dc352377d4fd94ab3cd0c
...