Skip to content

Commit 1dd5115

Browse files
authored
Create test.yaml
0 parents  commit 1dd5115

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/test.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: 🧰🛠️ Build Soar Package 📦📀
2+
3+
##Optional:
4+
# Setup minisign & add the private key as secret: MINISIGN_KEY [${{ secrets.MINISIGN_KEY }}]
5+
# Setup a Read-Only Underprivileged Github Token as secret: RO_GHTOKEN [${{ secrets.RO_GHTOKEN }}]
6+
# Setup a Read-Only Underprivileged GitLab Token as secret: RO_GLTOKEN [${{ secrets.RO_GLTOKEN }}]
7+
8+
#These permissions are needed by main CI
9+
permissions:
10+
attestations: write #Needed for Build Provenance & Attestations
11+
contents: write #Needed to create Release
12+
id-token: write #Needed for Build Provenance & Attestations
13+
packages: write #Needed to push to ghcr
14+
15+
on:
16+
#push:
17+
workflow_dispatch:
18+
release:
19+
types: [published]
20+
21+
jobs:
22+
23+
stable-release:
24+
uses: pkgforge/soarpkgs/.github/workflows/matrix_builds.yaml@main
25+
with:
26+
host: "ALL" #Otherwise aarch64-Linux OR x86_64-Linux
27+
sbuild-url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/binaries/busybox/static.standalone.source.yaml" #Must always be a raw URL
28+
ghcr-url: "ghcr.io/${{ github.repository }}/stable" #Package will be pushed under this path
29+
pkg-family: "busybox" #Needed so soar can cross reference with other repos/nests
30+
debug: false #If set to true, will run everything with set -x
31+
logs: true #Will Attach the entire Logs + File as Workflow Artifact
32+
rebuild: true #Will rebuild even if ghcr tag already exists

0 commit comments

Comments
 (0)