Skip to content

Commit 622163d

Browse files
authored
Changes made to CI/CD, timestamp is required (#106)
1 parent b921314 commit 622163d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-push.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262
tags: |
6363
type=schedule
6464
type=ref,event=branch
65-
type=ref,event=pr
65+
type=ref,event=pr,suffix=-${{ github.event.pull_request.head.sha }}
66+
type=raw,value={{branch}}-{{sha}}-{{date 'YYYYMMDDHHmmss'}},enable={{is_default_branch}}
6667
type=semver,pattern=v{{version}}
6768
type=semver,pattern=v{{major}}.{{minor}}
6869
type=semver,pattern=v{{major}}
69-
type=sha
7070
type=raw,value=${{ env.TAG }}, enable=true
7171
7272
- name: Build and push

0 commit comments

Comments
 (0)