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