Skip to content

Commit 6ee6f3d

Browse files
committed
Release artifacts name begins by version number
- Fix download filter pattern - Remove ${{ matrix.version }}
1 parent 4c6b00d commit 6ee6f3d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release_docker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
FREEFEM_VERSION=${{ inputs.release_version }}
6161
labels: ${{ steps.meta.outputs.labels }}
6262
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
63-
cache-from: type=gha,scope=docker-${{ matrix.version }}-${{ matrix.arch }}
64-
cache-to: type=gha,scope=docker-${{ matrix.version }}-${{ matrix.arch }},mode=max
63+
cache-from: type=gha,scope=docker-${{ matrix.arch }}
64+
cache-to: type=gha,scope=docker-${{ matrix.arch }},mode=max
6565
provenance: mode=max
6666
sbom: true
6767

@@ -85,7 +85,7 @@ jobs:
8585
- name: Upload Docker release artifact
8686
uses: actions/upload-artifact@v7
8787
with:
88-
name: docker-image-${{ matrix.version }}-${{ matrix.arch }}
88+
name: v${{ inputs.release_version }}-docker-image-${{ matrix.arch }}
8989
path: ./docker-assets/*
9090
if-no-files-found: error
9191
compression-level: 0
@@ -102,7 +102,7 @@ jobs:
102102
- name: Upload image digest
103103
uses: actions/upload-artifact@v7
104104
with:
105-
name: docker-digest-${{ matrix.version }}-${{ matrix.arch }}
105+
name: docker-digest-${{ matrix.arch }}
106106
path: ${{ runner.temp }}/digests/*
107107
if-no-files-found: error
108108
retention-days: 1

.github/workflows/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
uses: actions/download-artifact@v4
8181
with:
8282
path: ./release-assets
83-
pattern: "!(docker-digest-*|install_tree*)"
83+
pattern: v${{ needs.set_versions.outputs.ff_version }}*
8484
merge-multiple: true
8585
env:
8686
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)