Faster build
All checks were successful
/ better_name (bookworm) (push) Successful in 2s
/ better_name (bullseye) (push) Successful in 2s

This commit is contained in:
Johan Wassberg 2024-09-13 12:02:24 +02:00
parent 36f0b23031
commit e71b5299ba
Signed by: jocar
GPG key ID: BE4EC2EEADF2C31B

View file

@ -14,40 +14,9 @@ jobs:
# - v1.0.0
# - v1.2.0
dist:
# - bullseye
- bullseye
- bookworm
# runs-on: ubuntu-22.04
steps:
- run: echo All ${{ matrix.version }}
- run: cat /etc/issue
# - name: Install Docker
# run: curl -fsSL https://get.docker.com | sh
#- name: foo
# uses: https://code.forgejo.org/docker/setup-qemu-action@v3
- uses: actions/checkout@v4
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"