Skip to content

Commit adbd995

Browse files
committed
Update OS packages for syft job
Signed-off-by: Loïc Minier <[email protected]>
1 parent 5621c9e commit adbd995

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/debos.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,15 @@ jobs:
141141
- /srv/gh-runners/quic-yocto/builds:/fileserver-builds
142142
- /srv/gh-runners/quic-yocto/downloads:/fileserver-downloads
143143
steps:
144+
# make sure we have latest packages first, to get latest fixes and to
145+
# avoid an automated update while we're building
146+
- name: Update OS packages
147+
run: |
148+
set -ux
149+
apt update
150+
apt -y upgrade
151+
apt -y full-upgrade
152+
144153
- name: Retrieve rootfs from fileserver
145154
run: cp -av /fileserver-downloads/${BUILD_ID}/rootfs.tar.gz .
146155

0 commit comments

Comments
 (0)