Skip to content

Commit a696e2e

Browse files
committed
ci: fix tags on container images
Just want version and timestamp-sha
1 parent a19b3b2 commit a696e2e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build-publish.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@ jobs:
115115
images: ghcr.io/${{ github.repository }}
116116
tags: |
117117
type=semver,pattern={{version}}
118-
type=semver,pattern={{major}}.{{minor}}
119-
type=semver,pattern={{major}}
120-
type=sha,prefix=
118+
type=raw,value={{date 'YYYYMMDD[T]HHmmss'}}-{{sha}}
121119
122120
- name: Login to GitHub Container Registry
123121
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)