Updated GitHub build workflow.

This commit is contained in:
Abdulmhsen B. A. A
2022-02-14 19:36:50 +03:00
parent c15b13ca09
commit f84ea76ff6

View File

@@ -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