Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit c38bad7

Browse files
committed
Fix "Upstream Diff" (8 only)
1 parent f6c2e75 commit c38bad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/history.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ docker image history --no-trunc --format '{{ .CreatedBy }}' "$@" \
88
| sed -r 's!^/bin/sh[[:space:]]+-c[[:space:]]+(#[(]nop[)][[:space:]]+)?!!' \
99
| gawk '
1010
# munge the checksum of the first ADD of the base image (base image changes unnecessarily break our diffs)
11-
NR == 1 && $1 == "ADD" && $4 == "/" { $2 = "-" }
11+
$1 == "ADD" && $4 == "/" { $2 = "-" }
1212
1313
# remove "org.label-schema.build-date" and "org.opencontainers.image.created" (https://github.com/elastic/dockerfiles/pull/101#pullrequestreview-879623350)
1414
$1 == "LABEL" { gsub(/ (org[.]label-schema[.]build-date|org[.]opencontainers[.]image[.]created)=[^ ]+( [0-9:+-]+)?/, "") }

0 commit comments

Comments
 (0)