File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments