diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c1a035f..6792b496 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,9 +23,8 @@ jobs: images: arabcoders/watchstate tags: | type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} - type=ref,event=tag,enable=${{ startsWith(github.ref, 'refs/tags/v') }} + type=ref,event=tag type=ref,event=pr - type=sha,prefix={{branch}}- flavor: | latest=false - name: Login to DockerHub