test-fest/.forgejo/workflows/demo.yaml

46 lines
1.3 KiB
YAML
Raw Normal View History

2024-09-10 12:12:30 +00:00
on:
push:
2024-09-11 07:30:37 +00:00
#schedule:
# - cron: "*/5 * * * *"
2024-09-10 14:07:14 +00:00
2024-09-10 08:15:45 +00:00
jobs:
2024-09-10 13:32:46 +00:00
better_name:
strategy:
matrix:
2024-09-11 07:29:34 +00:00
# version:
# - v1.0.0
# - v1.2.0
2024-09-10 13:36:45 +00:00
dist:
2024-09-11 07:33:19 +00:00
# - bullseye
- bookworm
2024-09-10 13:36:45 +00:00
2024-09-10 08:15:45 +00:00
runs-on: docker
steps:
2024-09-10 13:41:38 +00:00
- run: echo All ${{ matrix.version }}
2024-09-10 12:39:33 +00:00
- uses: actions/checkout@v4
with:
fetch-depth: 0
2024-09-11 07:31:47 +00:00
# ref: refs/tags/${{ matrix.version }}
2024-09-11 07:29:34 +00:00
- 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:
from-forgejo: "${{ env.GITHUB_SERVER_URL }}"
from-owner: "${{ env.GITHUB_REPOSITORY_OWNER }}"
to-forgejo: "${{ env.GITHUB_SERVER_URL }}"
to-owner: "forgejo-experimental"
to-doer: "releaes-team"
to-token: "FORGEJO_TOKEN"