From 569fa0d0b614a150ad13b001bfab2de3bb135402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Rodri=CC=81guez?= Date: Wed, 19 Jul 2023 11:29:40 +0200 Subject: [PATCH] Build all tags --- .github/workflows/build-and-publish-docker-image.yml | 2 +- .github/workflows/docker-images.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish-docker-image.yml b/.github/workflows/build-and-publish-docker-image.yml index a277573..445e5bd 100644 --- a/.github/workflows/build-and-publish-docker-image.yml +++ b/.github/workflows/build-and-publish-docker-image.yml @@ -51,7 +51,7 @@ jobs: type=ref,event=tag type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }} + type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') || !startsWith(github.ref, 'refs/tags/0.') }} type=raw,value={{branch}}-{{sha}},enable=${{ !startsWith(github.ref, 'refs/tags/') }} - name: Build image diff --git a/.github/workflows/docker-images.yml b/.github/workflows/docker-images.yml index d4e4cfb..18cb203 100644 --- a/.github/workflows/docker-images.yml +++ b/.github/workflows/docker-images.yml @@ -4,7 +4,7 @@ on: branches: - '*' tags: - - 'v*' + - '*' pull_request: branches: - main