~ajhalili2006/xcaddy-setup

57b238e5623b5e576863d033e77673c1643ccd2f — Andrei Jiroh Halili 1 year, 1 month ago 3fb32dd
Setup builds.sr.ht config for some handing-off builds from the tildeserv

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
1 files changed, 24 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +24 -0
@@ 0,0 1,24 @@
image: debian/bullseye
repositories:
  sr.ht: https://mirror.sr.ht/debian/sr.ht/ bullseye main DEADBEEFCAFEF00D
packages:
- go
- git
- bash
- gpg
- coreutils
- debian-keyring
- debian-archive-keyring
- apt-transport-https
sources:
- https://git.sr.ht/~ajhalili2006/xcaddy-setup
tasks:
- install-xcaddy: |
   curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-xcaddy-archive-keyring.gpg
   curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-xcaddy.list
   sudo apt update && sudo apt install --yes --no-install-recommends xcaddy
- build: |
   cd xcaddy-setup
   bash ./build.sh
artifacts:
- xcaddy-setup/out/caddy