From 23d1ed811ce79ff3a3d4723b32c35ee5b3604436 Mon Sep 17 00:00:00 2001 From: ashwat287 Date: Thu, 18 Sep 2025 05:31:07 +0000 Subject: [PATCH] fix(ci): fallback to github.run_started_at if meta.outputs.created is unset for BUILD_DATE --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 073ab46ae..276cdcc35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,8 +126,6 @@ jobs: type=semver,pattern={{version}} type=edge type=ref,event=pr - labels: | - org.opencontainers.image.created=auto - name: Build and push image uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0 @@ -142,7 +140,7 @@ jobs: build-args: | GIT_TAG=${{ github.ref_name }} GIT_COMMIT=${{ github.sha }} - BUILD_DATE=${{ steps.meta.outputs.created }} + BUILD_DATE=${{ steps.meta.outputs.created || github.event.repository.updated_at || format('YYYY-MM-DD') }} secret-envs: | telemetry_api_key=TELEMETRY_API_KEY telemetry_endpoint=TELEMETRY_ENDPOINT