From 72f982833924704da5d68bbd577a9724f30a5473 Mon Sep 17 00:00:00 2001 From: Matthieu Vachon Date: Mon, 24 Feb 2025 20:10:35 -0500 Subject: [PATCH] Decreases 'edge' priority so OCI label 'version' is taken from `ref` first and `sha` second --- .github/workflows/docker.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 76bb4bcfe0..2a47461c01 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -47,11 +47,11 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=ref,event=tag,prefix= + type=ref,event=tag,prefix=,priority=1000 type=sha,prefix= type=sha,prefix=,suffix=-${{ matrix.platform_suffix }} - type=edge,branch=firehose-fh3.0 - type=edge,branch=release/* + type=edge,branch=firehose-fh3.0,priority=1 + type=edge,branch=release/*,priority=1 flavor: | latest=${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'beta') && !contains(github.ref, 'rc') }} prefix=geth-,onlatest=true @@ -105,8 +105,8 @@ jobs: tags: | type=ref,event=tag,prefix= type=sha,prefix= - type=edge,branch=firehose-fh3.0 - type=edge,branch=release/* + type=edge,branch=firehose-fh3.0,priority=1 + type=edge,branch=release/*,priority=1 flavor: | latest=${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'beta') && !contains(github.ref, 'rc') }} prefix=geth-,onlatest=true