Skip to content

Commit 5621c9e

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

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
@@ -136,10 +136,7 @@ jobs:
136136
runs-on: [self-hosted, x86]
137137
needs: build-debos
138138
container:
139-
# this is the upstream maintained image, not sure what criteria it has to
140-
# pass to be considered trusted; also, we assume it's Debian/Ubuntu-based
141-
# and that misc tool such as apt/tar/nproc/curl will be available
142-
image: anchore/syft
139+
image: debian:trixie
143140
volumes:
144141
- /srv/gh-runners/quic-yocto/builds:/fileserver-builds
145142
- /srv/gh-runners/quic-yocto/downloads:/fileserver-downloads
@@ -150,6 +147,15 @@ jobs:
150147
- name: Unpack rootfs
151148
run: mkdir -v rootfs && tar -C rootfs -xvf rootfs.tar.gz
152149

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

0 commit comments

Comments
 (0)