diff --git a/.github/workflows/build-and-push.yaml b/.github/workflows/build-and-push.yaml index ef6b6f7..7b7595a 100644 --- a/.github/workflows/build-and-push.yaml +++ b/.github/workflows/build-and-push.yaml @@ -22,9 +22,11 @@ jobs: huangliang1203/birdwatcher # generate Docker tags based on the following events/attributes tags: | - type=ref,event=branch,value={{branch}}-{{sha}} + type=ref,event=branch,value={{branch}}-{{date 'YYYYMMDD'}}-{{sha}} type=semver,pattern={{version}} type=sha + type=raw,value={{branch}}-{{date 'YYYYMMDD'}}-{{sha}} + - name: Login to Docker Hub uses: docker/login-action@v3 with: