From 2e887a2b314c7778d914d197be6791abbdaedb36 Mon Sep 17 00:00:00 2001 From: Kaj Kowalski Date: Thu, 29 May 2025 01:13:59 +0200 Subject: [PATCH] Update .github/workflows/release.yml Change how BUILD_TIME is derived Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23c9f62..a9fac6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -147,7 +147,7 @@ jobs: annotations: ${{ steps.meta.outputs.labels }} build-args: | VERSION=${{ github.ref_name }} - BUILD_TIME=${{ github.event.head_commit.timestamp }} + BUILD_TIME=${{ github.event.head_commit.timestamp || github.event.repository.pushed_at }} GIT_COMMIT=${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max