From 00a2626b56377713400d5a429f3b406a689bd510 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 30 Jan 2024 13:40:31 +0100 Subject: [PATCH] gha: update to docker/metadata-action@v5 - Node 20 as default runtime (requires Actions Runner v2.308.0 or later) - full diff: https://github.com/docker/metadata-action/compare/v4.6.0...v5.5.0 Signed-off-by: Sebastiaan van Stijn --- .github/workflows/bin-image.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bin-image.yml b/.github/workflows/bin-image.yml index b3e20bc5ab..6a0cab8f8e 100644 --- a/.github/workflows/bin-image.yml +++ b/.github/workflows/bin-image.yml @@ -38,7 +38,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ env.MOBYBIN_REPO_SLUG }} @@ -61,8 +61,10 @@ jobs: type=sha - name: Rename meta bake definition file + # see https://github.com/docker/metadata-action/issues/381#issuecomment-1918607161 run: | - mv "${{ steps.meta.outputs.bake-file }}" "/tmp/bake-meta.json" + bakeFile="${{ steps.meta.outputs.bake-file }}" + mv "${bakeFile#cwd://}" "/tmp/bake-meta.json" - name: Upload meta bake definition uses: actions/upload-artifact@v3