Compare commits

..

2 commits

Author SHA1 Message Date
root
e77ad25e7c trigger run
Some checks failed
spike-build / build (push) Failing after 29s
2026-07-01 10:12:22 +00:00
root
f6726af445 use REGISTRY_TOKEN (PAT) for registry push 2026-07-01 10:07:27 +00:00

View file

@ -3,7 +3,9 @@
# unknowns with no host-deploy setup. Copy to .forgejo/workflows/build.yml in a
# throwaway Forgejo repo. Requires:
# - repo Variable: FORGEJO_REGISTRY (e.g. forge.currentbits.net)
# - repo Secrets: COSIGN_PRIVATE_KEY, COSIGN_PASSWORD, COSIGN_PUBLIC_KEY
# - repo Secrets: COSIGN_PRIVATE_KEY, COSIGN_PASSWORD, COSIGN_PUBLIC_KEY,
# REGISTRY_TOKEN (a Forgejo PAT with write:package — the
# automatic Actions token lacks package-write scope)
name: spike-build
on: [push, workflow_dispatch]
permissions:
@ -21,7 +23,8 @@ jobs:
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# Forgejo's automatic token can't push packages — use a PAT (write:package).
password: ${{ secrets.REGISTRY_TOKEN }}
- id: push
uses: docker/build-push-action@v6
with: