From 5b253737b906977b3b89a2f90cee9772e4fe9f2a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Feb 2026 11:56:34 +0000 Subject: [PATCH] Fix artifact naming and add comments for latest=false flavor Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> --- .github/workflows/docker_build.yml | 6 +++++- .github/workflows/docker_frankenphp.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 378ab6c7..18626a92 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -21,10 +21,13 @@ jobs: include: - platform: linux/amd64 runner: ubuntu-latest + platform-slug: amd64 - platform: linux/arm64 runner: ubuntu-24.04-arm + platform-slug: arm64 - platform: linux/arm/v7 runner: ubuntu-24.04-arm + platform-slug: armv7 runs-on: ${{ matrix.runner }} steps: - @@ -58,6 +61,7 @@ jobs: org.opencontainers.image.source=https://github.com/Part-DB/Part-DB-symfony org.opencontainers.image.authors=Jan Böhmer org.opencontainers.licenses=AGPL-3.0-or-later + # Disable automatic 'latest' tag in build jobs - it will be created in merge job flavor: | latest=false @@ -97,7 +101,7 @@ jobs: if: github.event_name != 'pull_request' uses: actions/upload-artifact@v4 with: - name: digests-${{ strategy.job-index }} + name: digests-${{ matrix.platform-slug }} path: /tmp/digests/* if-no-files-found: error retention-days: 1 diff --git a/.github/workflows/docker_frankenphp.yml b/.github/workflows/docker_frankenphp.yml index 7dd746ab..0897c20b 100644 --- a/.github/workflows/docker_frankenphp.yml +++ b/.github/workflows/docker_frankenphp.yml @@ -21,10 +21,13 @@ jobs: include: - platform: linux/amd64 runner: ubuntu-latest + platform-slug: amd64 - platform: linux/arm64 runner: ubuntu-24.04-arm + platform-slug: arm64 - platform: linux/arm/v7 runner: ubuntu-24.04-arm + platform-slug: armv7 runs-on: ${{ matrix.runner }} steps: - @@ -58,6 +61,7 @@ jobs: org.opencontainers.image.source=https://github.com/Part-DB/Part-DB-server org.opencontainers.image.authors=Jan Böhmer org.opencontainers.licenses=AGPL-3.0-or-later + # Disable automatic 'latest' tag in build jobs - it will be created in merge job flavor: | latest=false @@ -98,7 +102,7 @@ jobs: if: github.event_name != 'pull_request' uses: actions/upload-artifact@v4 with: - name: digests-${{ strategy.job-index }} + name: digests-${{ matrix.platform-slug }} path: /tmp/digests/* if-no-files-found: error retention-days: 1