From eb4464c7c6dde59e70a624ef327a3711ffc78bbd Mon Sep 17 00:00:00 2001 From: Trim21 Date: Mon, 25 Nov 2024 23:12:28 +0800 Subject: [PATCH] add commit date to docker tags --- .github/workflows/release-docker.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-docker.yaml b/.github/workflows/release-docker.yaml index 55bdffcf..e9fbd983 100644 --- a/.github/workflows/release-docker.yaml +++ b/.github/workflows/release-docker.yaml @@ -65,6 +65,7 @@ jobs: images: ${{ env.IMAGE }} tags: | type=semver,event=tag,pattern=v{{version}} + type=raw,value={{commit_date 'YYYY-MM-DD'}}-{{sha}} type=ref,event=branch type=ref,event=branch,suffix=-${{ env.SHA }}