Skip to content

Commit db3894b

Browse files
committed
Add label showing image creation time on commit
1 parent d074791 commit db3894b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

launcher

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ run_bootstrap() {
711711
sleep 5
712712

713713
$docker_path commit \
714+
-c "LABEL org.opencontainers.image.created=\"$(TZ=UTC date -Iseconds)\"" \
714715
"$CONTAINER_ID" \
715716
$local_discourse/$config || die "FAILED TO COMMIT $CONTAINER_ID"
716717
$docker_path rm "$CONTAINER_ID"

0 commit comments

Comments
 (0)