File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ COPY --from=target / /target
2727RUN set -euo pipefail; \
2828 export PERMCTL_ALLOW_INSECURE_MODE_IF_NO_PROC=1; \
2929 zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends apache2-utils ca-certificates-mozilla distribution-registry
30+ # sanity check that the version from the tag is equal to the version of distribution-registry that we expect
31+ RUN set -euo pipefail; \
32+ [ "$(rpm --root /target -q --qf '%{version}' distribution-registry | \
33+ cut -d '.' -f -2)" = "3.0" ]
3034
3135# cleanup logs and temporary files
3236RUN set -euo pipefail; zypper -n --installroot /target clean -a; \
Original file line number Diff line number Diff line change 1+ -------------------------------------------------------------------
2+ Mon Nov 10 17:25:59 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
3+
4+ - add version check
5+
16-------------------------------------------------------------------
27Wed Oct 29 16:55:45 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
38
You can’t perform that action at this time.
0 commit comments