Skip to content

Commit cb67d49

Browse files
committed
Update image annotations
1 parent a68ddee commit cb67d49

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ cmd buildah run "$CONTAINER" -- \
3939

4040
cleanup "$CONTAINER"
4141

42+
con_cleanup "$CONTAINER"
43+
4244
cmd buildah config \
4345
--annotation org.opencontainers.image.title="Arch Linux" \
4446
--annotation org.opencontainers.image.description="@SGSGermany's base image for containers based on Arch Linux." \
@@ -47,6 +49,7 @@ cmd buildah config \
4749
--annotation org.opencontainers.image.vendor="SGS Serious Gaming & Simulations GmbH" \
4850
--annotation org.opencontainers.image.base.name="$BASE_IMAGE" \
4951
--annotation org.opencontainers.image.base.digest="$(podman image inspect --format '{{.Digest}}' "$BASE_IMAGE")" \
52+
--annotation org.opencontainers.image.created="$(date -u +'%+4Y-%m-%dT%H:%M:%SZ')" \
5053
"$CONTAINER"
5154

5255
con_commit "$CONTAINER" "$IMAGE" "${TAGS[@]}"

0 commit comments

Comments
 (0)