Merge pull request 'fix: publish with PACKAGE_TOKEN, new update signing key' (#3) from publish-token-and-key into main
os / os (push) Waiting to run

Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
Job79 committed 2026-11-23 20:00:06 +00:00
commit daa88d2cf9
2 files changed
+3 -4

No files matched your search

+3 -4
View File
@@ -8,6 +8,8 @@
# - SIGNING_KEY repository secret: the armored private gpg key whose
# public half is mkosi.extra/usr/lib/systemd/
# import-pubring.pgp, which systemd-sysupdate checks.
# - PACKAGE_TOKEN repository secret: a token of the package owner with only
# write:package. The job token can't write packages.
name: os
on:
push:
@@ -19,9 +21,6 @@ on:
jobs:
os:
runs-on: linux
permissions:
contents: read
packages: write
steps:
- name: Install tools
run: dnf install -yq mkosi
@@ -55,7 +54,7 @@ jobs:
working-directory: mkosi.output
env:
PKG: ${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/generic/agentos/latest
AUTH: "Authorization: token ${{ gitea.token }}"
AUTH: "Authorization: token ${{ secrets.PACKAGE_TOKEN }}"
run: |
curl -fsS -H "$AUTH" -X DELETE "$PKG" || true
for f in agentos_*.efi agentos_*.usr-*.raw.zst agentos.qcow2 agentos_*.manifest SHA256SUMS.gpg SHA256SUMS; do
Binary file not shown.