Skip to content

Commit eed1fc0

Browse files
committed
Use debian image + https download for syft
Signed-off-by: Loïc Minier <[email protected]>
1 parent 41309cf commit eed1fc0

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/debos.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,7 @@ jobs:
140140
runs-on: [self-hosted, x86]
141141
needs: build-debos
142142
container:
143-
# this is the upstream maintained image, not sure what criteria it has to
144-
# pass to be considered trusted; also, we assume it's Debian/Ubuntu-based
145-
# and that misc tool such as apt/tar/nproc/curl will be available
146-
image: anchore/syft
143+
image: debian:trixie
147144
volumes:
148145
- /srv/gh-runners/quic-yocto/builds:/fileserver-builds
149146
- /srv/gh-runners/quic-yocto/downloads:/fileserver-downloads
@@ -154,6 +151,15 @@ jobs:
154151
- name: Unpack rootfs
155152
run: mkdir -v rootfs && tar -C rootfs -xvf rootfs.tar.gz
156153

154+
# this is the upstream provided script; syft is not packaged in Debian;
155+
# it's also available as a container image, but with a similar if not
156+
# worse consumption model
157+
- name: Install Syft
158+
run: |
159+
set -ux
160+
apt -y install curl
161+
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh
162+
157163
- name: Generate SBOMs with Syft
158164
run: |
159165
set -ux

0 commit comments

Comments
 (0)