diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index 1b5996c..96f974c 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -7,9 +7,9 @@ jobs: better_name: strategy: matrix: - version: - - v1.0.0 - - v1.2.0 + # version: + # - v1.0.0 + # - v1.2.0 dist: - bullseye - boookworm @@ -21,3 +21,25 @@ jobs: with: fetch-depth: 0 ref: refs/tags/${{ matrix.version }} + - 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"