From e7e20d6192d71b6589749c14eba6181f6d350a8c Mon Sep 17 00:00:00 2001 From: vbaskov-ledger Date: Fri, 6 Dec 2024 14:06:44 +0200 Subject: [PATCH] [ci][fix] INFRAPRJ-7379: Add metadata prefetch for merge job --- .../workflows/continuous-integration-workflow.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index bf7d5d8a..df3b4803 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -244,6 +244,18 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Extract metadata + id: meta + uses: docker/metadata-action@v4 + with: + images: ghcr.io/ledgerhq/speculos + tags: | + type=raw,value=${{ github.sha }} + type=ref,event=branch + type=ref,event=pr + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3