James E. Blair 6736ee2251 Add image build jobs
Depends-On: https://review.opendev.org/940561

Change-Id: I691fafc25b377d812d002fae34aef2e0bc8e552a
2025-01-31 15:24:22 -08:00

13 lines
285 B
Bash
Executable File

#!/bin/bash
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
# Put a timestamp in the image file of the date the image was built.
# This is echoed into the logs on each run for easy cross-reference
date --utc "+%Y-%m-%d %H:%M" > /etc/dib-builddate.txt