Skip to content

Commit 6180c0f

Browse files
authored
Merge pull request #3143 from SUSE/for-deploy-Tumbleweed
🤖: Update build recipes for Tumbleweed
2 parents ee943c9 + cb121ff commit 6180c0f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

distribution-image/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ COPY --from=target / /target
2727
RUN 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
3236
RUN set -euo pipefail; zypper -n --installroot /target clean -a; \

distribution-image/distribution-image.changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-------------------------------------------------------------------
2+
Mon Nov 10 17:25:59 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
3+
4+
- add version check
5+
16
-------------------------------------------------------------------
27
Wed Oct 29 16:55:45 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
38

0 commit comments

Comments
 (0)