From 7de093c5cb4c7e79bdc14e905270d117bcb39a97 Mon Sep 17 00:00:00 2001 From: Samuel Rounce Date: Mon, 1 Jul 2024 16:43:31 +0100 Subject: [PATCH] fix: Retain metadata in Docker image version This ensures metadata is not stripped from the version as reported in docker/metadata-action#384 --- .github/workflows/release.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 959e65c1..20f5f27f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,7 @@ name: Release on: push: tags: - - 'v*' + - "v*" permissions: contents: write @@ -31,10 +31,11 @@ jobs: with: images: flashbots/mev-boost tags: | + type=semver,pattern={{version}} + type=semver,pattern={{raw}} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{major}} type=sha - type=pep440,pattern={{version}} - type=pep440,pattern={{major}}.{{minor}} - type=raw,value=latest,enable=${{ !contains(env.RELEASE_VERSION, '-') }} - name: Set up QEMU uses: docker/setup-qemu-action@v2 @@ -120,4 +121,4 @@ jobs: with: args: release --config .goreleaser-release.yaml env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}