mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-08-30 15:01:27 +00:00
robot: Use VARIANT, output SBOM to build (#1017)
🤖 Use VARIANT, output to build
Signed-off-by: mudler <mudler@c3os.io>
This commit is contained in:
parent
11f1c542a5
commit
ace91a321c
@ -208,10 +208,11 @@ image-sbom:
|
||||
COPY +version/VERSION ./
|
||||
ARG VERSION=$(cat VERSION)
|
||||
ARG FLAVOR
|
||||
ARG VARIANT
|
||||
COPY +syft/syft /usr/bin/syft
|
||||
RUN syft / -o json=sbom.syft.json -o spdx-json=sbom.spdx.json
|
||||
SAVE ARTIFACT /build/sbom.syft.json sbom.syft.json AS LOCAL core-${FLAVOR}-${VERSION}-sbom.syft.json
|
||||
SAVE ARTIFACT /build/sbom.spdx.json sbom.spdx.json AS LOCAL core-${FLAVOR}-${VERSION}-sbom.spdx.json
|
||||
SAVE ARTIFACT /build/sbom.syft.json sbom.syft.json AS LOCAL build/${VARIANT}-${FLAVOR}-${VERSION}-sbom.syft.json
|
||||
SAVE ARTIFACT /build/sbom.spdx.json sbom.spdx.json AS LOCAL build/${VARIANT}-${FLAVOR}-${VERSION}-sbom.spdx.json
|
||||
|
||||
luet:
|
||||
FROM quay.io/luet/base:$LUET_VERSION
|
||||
|
Loading…
Reference in New Issue
Block a user