diff --git a/.github/workflows/build-and-push.yaml b/.github/workflows/build-and-push.yaml index 3e56139..ef6b6f7 100644 --- a/.github/workflows/build-and-push.yaml +++ b/.github/workflows/build-and-push.yaml @@ -22,7 +22,7 @@ jobs: huangliang1203/birdwatcher # generate Docker tags based on the following events/attributes tags: | - type=ref,event=branch + type=ref,event=branch,value={{branch}}-{{sha}} type=semver,pattern={{version}} type=sha - name: Login to Docker Hub