From e405e3e2f4bd0bd345178048b6e4f8462b7efd94 Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Vuotto Date: Tue, 21 Jun 2022 13:44:30 +0000 Subject: [PATCH] Rework Docker tags - type=raw,value=edge,... was doing the same as type=edge - Generate CODENAME-MAJOR out of CODENAME-MAJOR.minor.patch --- .github/workflows/docker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6fccb01eb92..a05727d7ed9 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -23,7 +23,9 @@ jobs: tags: | type=ref,event=branch type=ref,event=tag - type=raw,value=edge,enable={{ is_default_branch }} + type=edge + # This is used for generating IRIS-3 out of IRIS-3.x.y. + type=match,pattern=(\w+-\d+)\.\d+\.\d+.*,group=1 - name: DockerHub login uses: docker/login-action@v2