Skip to content

Modern Docker Management, Designed for Everyone

ci/cd: add timestamp to preview release

Kyle Mendell6a60a6774985
diff --git a/.github/workflows/build-1.0-preview-image.yml b/.github/workflows/build-1.0-preview-image.yml
index a9ba9c470..fe736caa1 100644
--- a/.github/workflows/build-1.0-preview-image.yml
+++ b/.github/workflows/build-1.0-preview-image.yml
@@ -56,7 +56,7 @@ jobs:
go-version-file: backend/go.mod
- name: Build backend binaries
- run: bash scripts/development/build-binaries.sh --docker
+ run: bash scripts/development/build-binaries.sh
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@@ -100,6 +100,9 @@ jobs:
subject-digest: ${{ steps.build-push.outputs.digest }}
push-to-registry: true
+ - name: Compute build timestamp (UTC)
+ run: echo "BUILD_TIMESTAMP=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$GITHUB_ENV"
+
- name: Create/Update GitHub prerelease
uses: softprops/action-gh-release@v2
with:
@@ -112,6 +115,8 @@ jobs:
body: |
Arcane 1.0 Preview
+ Build timestamp (UTC): ${{ env.BUILD_TIMESTAMP }}
+
This is an automated build of the 1.0.0 branch.
Docker images: