Fix SBOM generation for squashfs

This commit is contained in:
Albrecht Lohofener
2024-11-13 19:20:15 +01:00
parent e749290ab7
commit a062f8878c
3 changed files with 9 additions and 3 deletions
@@ -169,7 +169,9 @@ jobs:
echo $IMAGE
# Mount volume
sudo mount /var/lib/docker/volumes/openwrt-docker_data/_data/$IMAGE /mnt
wget https://raw.githubusercontent.com/AlbrechtL/openwrt-docker/refs/heads/master/src/mount_openwrt_squashfs_combined.sh
chmod +x mount_openwrt_squashfs_combined.sh
sudo ./mount_openwrt_squashfs_combined.sh $IMAGE x86_64 $(arch)
- name: Generate OpenWrt SBOM
uses: anchore/sbom-action@v0
+3 -1
View File
@@ -171,7 +171,9 @@ jobs:
echo $IMAGE
# Mount volume
sudo mount /var/lib/docker/volumes/openwrt-docker_data/_data/$IMAGE /mnt
wget https://raw.githubusercontent.com/AlbrechtL/openwrt-docker/refs/heads/master/src/mount_openwrt_squashfs_combined.sh
chmod +x mount_openwrt_squashfs_combined.sh
sudo ./mount_openwrt_squashfs_combined.sh $IMAGE x86_64 $(arch)
- name: Generate OpenWrt SBOM
uses: anchore/sbom-action@v0
+3 -1
View File
@@ -165,7 +165,9 @@ jobs:
echo $IMAGE
# Mount volume
sudo mount /var/lib/docker/volumes/openwrt-docker_data/_data/$IMAGE /mnt
wget https://raw.githubusercontent.com/AlbrechtL/openwrt-docker/refs/heads/master/src/mount_openwrt_squashfs_combined.sh
chmod +x mount_openwrt_squashfs_combined.sh
sudo ./mount_openwrt_squashfs_combined.sh $IMAGE x86_64 $(arch)
- name: Generate OpenWrt SBOM
uses: anchore/sbom-action@v0