Skip to content

Commit

Permalink
fix: Retain metadata in Docker image version
Browse files Browse the repository at this point in the history
This ensures metadata is not stripped from the version as reported in docker/metadata-action#384
  • Loading branch information
srounce authored and MrKoberman committed Aug 20, 2024
1 parent 3b7d2c1 commit 80b7ce9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- 'v*'
- "v*"

permissions:
contents: write
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -120,4 +121,4 @@ jobs:
with:
args: release --config .goreleaser-release.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 80b7ce9

Please sign in to comment.