Skip to content

Commit

Permalink
chore: removed unnecessary curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
dervoeti committed Oct 22, 2024
1 parent e3c41b6 commit 0347d7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions publish-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,16 @@ runs:
# Get metadata from the image
# NOTE (@Techassi): Maybe we should run this command only once
IMAGE_METADATA_DESCRIPTION=$(docker inspect --format='{{.Config.Labels.description}}' "${IMAGE_REPO_DIGEST}")
IMAGE_METADATA_NAME=$(docker inspect --format='{{.Config.Labels.name}}' "${IMAGE_REPO_DIGEST}")
IMAGE_METADATA_DESCRIPTION=$(docker inspect --format='{{.Config.Labels.description}}' "$IMAGE_REPO_DIGEST")
IMAGE_METADATA_NAME=$(docker inspect --format='{{.Config.Labels.name}}' "$IMAGE_REPO_DIGEST")
# Generate the SBOM
syft scan \
--output cyclonedx-json@1.5=sbom_raw.json \
--select-catalogers "-cargo-auditable-binary-cataloger,+sbom-cataloger" \
--scope all-layers \
--source-name "$SOURCE_NAME" \
--source-version "$IMAGE_MANIFEST_TAG" "${IMAGE_REPO_DIGEST}"
--source-version "$IMAGE_MANIFEST_TAG" "$IMAGE_REPO_DIGEST"
# Merge SBOM components using https://github.com/stackabletech/mergebom
curl --fail -L -o mergebom https://repo.stackable.tech/repository/packages/mergebom/stable-$(uname -m)
Expand Down

0 comments on commit 0347d7d

Please sign in to comment.