Skip to content

Commit 2e887a2

Browse files
kjanatCopilot
andauthored
Update .github/workflows/release.yml
Change how BUILD_TIME is derived Co-authored-by: Copilot <[email protected]>
1 parent cdc9815 commit 2e887a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
annotations: ${{ steps.meta.outputs.labels }}
148148
build-args: |
149149
VERSION=${{ github.ref_name }}
150-
BUILD_TIME=${{ github.event.head_commit.timestamp }}
150+
BUILD_TIME=${{ github.event.head_commit.timestamp || github.event.repository.pushed_at }}
151151
GIT_COMMIT=${{ github.sha }}
152152
cache-from: type=gha
153153
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)