Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Oct 15, 2024
1 parent c1f0d10 commit f6fdac1
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
tags:
- 'v*.*.*'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build the Docker image
Expand Down Expand Up @@ -35,12 +39,7 @@ jobs:
# { docker: linux/ppc64le, guix: powerpc64le-linux }
]

steps:
- name: Prepare
run: |
platform=${{ matrix.docker.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand Down Expand Up @@ -91,7 +90,7 @@ jobs:
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
with:
name: digests-${{ env.PLATFORM_PAIR }}
name: digests-${{ matrix.guix.platform }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
Expand Down

0 comments on commit f6fdac1

Please sign in to comment.