Skip to content

Commit

Permalink
Add SBOM to controller container image (#2358)
Browse files Browse the repository at this point in the history
Signed-off-by: Prasad Ghangal <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
PrasadG193 and mergify[bot] authored Sep 27, 2023
1 parent eb89249 commit 59924f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ sed \
-e "s|ARG_ARCH|${ARCH}|g" \
-e "s|ARG_SOURCE_BIN|${SOURCE_BIN}|g" \
Dockerfile.in > .dockerfile-${ARCH}
docker build --pull ${baseimagearg:-} --build-arg kanister_version=${VERSION} -t ${IMAGE}:${VERSION} -f .dockerfile-${ARCH} .
docker buildx build --push --pull --sbom=true ${baseimagearg:-} --build-arg kanister_version=${VERSION} -t ${IMAGE}:${VERSION} -f .dockerfile-${ARCH} .
docker images -q ${IMAGE}:${VERSION}

0 comments on commit 59924f8

Please sign in to comment.