diff --git a/.github/workflows/build-image-debian.yaml b/.github/workflows/build-image-debian.yaml index 528bda7..2414cb2 100644 --- a/.github/workflows/build-image-debian.yaml +++ b/.github/workflows/build-image-debian.yaml @@ -53,9 +53,24 @@ jobs: context: debian load: true tags: ${{ env.REGISTRY_IMAGE }}:test + outputs: type=image,push-by-digest=true,name-canonical=true cache-from: type=gha cache-to: type=gha,mode=max + - name: Export digest + run: | + mkdir -p ${{ runner.temp }}/digests + digest="${{ steps.build.outputs.digest }}" + touch "${{ runner.temp }}/digests/${digest#sha256:}" + + - name: Upload digest + uses: actions/upload-artifact@v4 + with: + name: digests-${{ env.PLATFORM_PAIR }} + path: ${{ runner.temp }}/digests/* + if-no-files-found: error + retention-days: 1 + merge: runs-on: ubuntu-latest needs: