From c2ee4f09eeaa2ac82c3cd4102967a6942737f8d1 Mon Sep 17 00:00:00 2001 From: Crypta Eve Date: Sat, 1 Feb 2025 00:04:57 +1030 Subject: [PATCH] fix: sanitise image name in artefact download --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 807888d..bb3e15a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -131,11 +131,17 @@ jobs: - ghcr.io/eveseat/seat steps: + - name: Image name sanitise + run: | + image=${{ matrix.image }} + echo "IMAGE_NAME=${image//\//-}" >> $GITHUB_ENV + + - name: Download digests uses: actions/download-artifact@v4 with: path: ${{ runner.temp }}/digests - pattern: digests-${{ matrix.image }}* + pattern: digests-${{ env.IMAGE_NAME }}* merge-multiple: true - name: Set up Docker Build-X