Skip to content

Commit b317fc2

Browse files
committed
Update image annotations
1 parent 4ba4745 commit b317fc2

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
@@ -45,6 +45,8 @@ cmd buildah run "$CONTAINER" -- \
4545

4646
cleanup "$CONTAINER"
4747

48+
con_cleanup "$CONTAINER"
49+
4850
cmd buildah config \
4951
--annotation org.opencontainers.image.title="Alpine Linux" \
5052
--annotation org.opencontainers.image.description="@SGSGermany's base image for containers based on Alpine Linux." \
@@ -53,6 +55,7 @@ cmd buildah config \
5355
--annotation org.opencontainers.image.vendor="SGS Serious Gaming & Simulations GmbH" \
5456
--annotation org.opencontainers.image.base.name="$BASE_IMAGE" \
5557
--annotation org.opencontainers.image.base.digest="$(podman image inspect --format '{{.Digest}}' "$BASE_IMAGE")" \
58+
--annotation org.opencontainers.image.created="$(date -u +'%+4Y-%m-%dT%H:%M:%SZ')" \
5659
"$CONTAINER"
5760

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

0 commit comments

Comments
 (0)