From bba87c43851faee5aad895bbeeacdac2537ff4ef Mon Sep 17 00:00:00 2001 From: parithosh Date: Tue, 24 Sep 2024 18:42:33 +0200 Subject: [PATCH] trying new pattern --- .github/actions/prepare/action.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/actions/prepare/action.yaml b/.github/actions/prepare/action.yaml index a90c224..063a109 100644 --- a/.github/actions/prepare/action.yaml +++ b/.github/actions/prepare/action.yaml @@ -37,12 +37,14 @@ runs: images: ethpandaops/ethereum-genesis-generator flavor: latest=auto tags: | - type=raw,value=master,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} - type=raw,value=verkle-gen,enable=${{ github.ref == format('refs/heads/{0}', 'verkle-gen') }},event=branch type=semver,pattern={{version}} - type=ref,event=branch type=ref,event=pr - type=semver,pattern={{version}} + type=ref,event=branch + type=sha + type=match,event=tag,pattern=^v\d+\.\d+\.\d+$,group=0 + type=match,event=tag,pattern=^verkle-gen-v\d+\.\d+\.\d+$,group=0 + type=match,event=tag,pattern=^ephemery-v\d+\.\d+\.\d+$,group=0 + - name: Set tag id: set_tag shell: bash