Skip to content

Commit 39c773c

Browse files
committed
Add proper stamping
Pushing the container images currently fails, because we haven't included the shell script that is responsible for stamping.
1 parent 36d48e0 commit 39c773c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.bazelrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
run --workspace_status_command="bash tools/workspace-status.sh"

tools/workspace-status.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh -e
2+
3+
if test "${GITHUB_ACTIONS}" = "true"; then
4+
echo "BUILD_SCM_REVISION $(git rev-parse --short HEAD)"
5+
echo "BUILD_SCM_TIMESTAMP $(TZ=UTC date --date "@$(git show -s --format=%ct HEAD)" +%Y%m%dT%H%M%SZ)"
6+
fi

0 commit comments

Comments
 (0)