Compare commits
No commits in common. "e77ad25e7cbd9849394268c217a2a3b9274edf3b" and "7b9683715405f505f5d02983a7bd8a7aa5585c05" have entirely different histories.
e77ad25e7c
...
7b96837154
1 changed files with 2 additions and 5 deletions
|
|
@ -3,9 +3,7 @@
|
||||||
# unknowns with no host-deploy setup. Copy to .forgejo/workflows/build.yml in a
|
# unknowns with no host-deploy setup. Copy to .forgejo/workflows/build.yml in a
|
||||||
# throwaway Forgejo repo. Requires:
|
# throwaway Forgejo repo. Requires:
|
||||||
# - repo Variable: FORGEJO_REGISTRY (e.g. forge.currentbits.net)
|
# - 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
|
name: spike-build
|
||||||
on: [push, workflow_dispatch]
|
on: [push, workflow_dispatch]
|
||||||
permissions:
|
permissions:
|
||||||
|
|
@ -23,8 +21,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
# Forgejo's automatic token can't push packages — use a PAT (write:package).
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
||||||
- id: push
|
- id: push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue