File tree 2 files changed +14
-10
lines changed
2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 2
2
name : ' build tools container images'
3
3
4
4
on :
5
+ pull_request :
5
6
push :
6
7
branches :
7
8
- master
54
55
registry : quay.io
55
56
username : ${{ secrets.QUAY_USERNAME }}
56
57
password : ${{ secrets.QUAY_PASSWORD }}
57
-
58
58
- name : Build
59
+ if : github.event_name == 'pull_request'
60
+ uses : docker/build-push-action@v6
61
+ with :
62
+ builder : ${{ steps.buildx.outputs.name }}
63
+ context : ./tools-image
64
+ file : ./tools-image/Dockerfile
65
+ platforms : linux/amd64,linux/arm64
66
+ push : false
67
+ tags : ${{ steps.prep.outputs.tags }}
68
+ - name : Build and push
69
+ if : github.event_name != 'pull_request'
59
70
uses : docker/build-push-action@v6
60
71
with :
61
72
builder : ${{ steps.buildx.outputs.name }}
Original file line number Diff line number Diff line change 1
1
# https://quay.io/repository/kairos/packages?tab=tags&tag=latest
2
2
ARG LEAP_VERSION=15.5
3
3
ARG LUET_VERSION=0.35.2
4
- ARG ENKI_VERSION=v0.0.32
4
+ ARG ENKI_VERSION=0.1.0
5
5
6
6
FROM quay.io/luet/base:$LUET_VERSION AS luet
7
- FROM quay.io/kairos/enki:${ENKI_VERSION} as enki
7
+ FROM quay.io/kairos/enki:v ${ENKI_VERSION} as enki
8
8
9
9
FROM opensuse/leap:$LEAP_VERSION as default
10
10
RUN zypper ref && zypper dup -y
11
11
# # ISO+ Arm image + Netboot + cloud images Build depedencies
12
12
RUN zypper ref && zypper in -y bc qemu-tools jq cdrtools docker git curl gptfdisk kpartx sudo xfsprogs parted \
13
13
util-linux-systemd e2fsprogs curl util-linux udev rsync grub2 dosfstools grub2-x86_64-efi squashfs mtools xorriso lvm2 zstd
14
- RUN zypper in -y python311-pip python311-cryptography sbsigntools tpm2-* # ukify deps
15
- RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 # make python3.11 the default python3 for ukify
16
14
COPY --from=luet /usr/bin/luet /usr/bin/luet
17
15
ENV LUET_NOLOCK=true
18
16
ENV TMPDIR=/tmp
@@ -27,11 +25,6 @@ RUN cp /tmp/luet-${TARGETARCH}.yaml /etc/luet/luet.yaml
27
25
# # Uki artifacts, will be set under the /usr/kairos directory
28
26
RUN luet install -y system/systemd-boot
29
27
30
- # ukify + measure
31
- RUN luet install -y system/systemd-ukify
32
- # ukify deps that are not in the suse repos as packages. ukify package provides this so we have the exact versions needed
33
- RUN pip3 install -r /usr/kairos/ukify-requirements.txt
34
-
35
28
# # Live CD artifacts
36
29
RUN luet install -y livecd/grub2 --system-target /grub2
37
30
RUN luet install -y livecd/grub2-efi-image --system-target /efi
You can’t perform that action at this time.
0 commit comments