.forgejo/workflows | ||
build | ||
publish | ||
testdata | ||
.gitignore | ||
LICENSE | ||
README.md |
forgejo-build-publish
This repository contains two actions that can be used together.
The forgejo-build-publish/build
action will build multi-architecture
binaries and OCI images and upload them to a Forgejo user/organization.
The forgejo-build-publish/publish
action will copy and optionally sign
binaries and OCI images from one user/organization to another.
Example
- uses: https://code.forgejo.org/forgejo/forgejo-build-publish/build@v1
with:
forgejo: "${{ env.GITHUB_SERVER_URL }}"
owner: "${{ env.GITHUB_REPOSITORY_OWNER }}"
repository: "${{ steps.repository.outputs.value }}"
doer: "release-team"
tag-version: "${{ steps.tag-version.outputs.value }}"
token: "FORGEJO_TOKEN"
platforms: linux/amd64,linux/arm64
release-notes: "RELEASE-NOTES"
binary-name: software
binary-path: /bin/software
dockerfile: Dockerfile
- uses: https://code.forgejo.org/forgejo/forgejo-build-publish/publish@v1
with:
forgejo: "${{ env.GITHUB_SERVER_URL }}"
from-owner: "${{ env.GITHUB_REPOSITORY_OWNER }}"
to-owner: "forgejo-experimental"
ref-name: ${{ github.ref_name }}
container-suffixes: " "
doer: "releaes-team"
token: "FORGEJO_TOKEN"
Hacking
- Update the README from the actions file with https://github.com/npalm/action-docs
action-docs --update-readme