Skip to content

Commit

Permalink
🤖 Fix triby and grype output names
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed Oct 24, 2023
1 parent 2428395 commit 99dfa0e
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -964,9 +964,15 @@ trivy-scan:
COPY +trivy/trivy /trivy
COPY +trivy/contrib /contrib
COPY +version/VERSION ./
ARG VERSION=$(cat VERSION)
ARG FLAVOR
ARG VARIANT
ARG KAIROS_VERSION=$(cat VERSION)
ARG TARGETARCH
ARG --required FAMILY # The dockerfile to use
ARG --required FLAVOR # The distribution E.g. "ubuntu"
ARG --required FLAVOR_RELEASE # The distribution release/version E.g. "20.04"
ARG --required VARIANT
ARG --required MODEL
ARG --required BASE_IMAGE # BASE_IMAGE is the image to apply the strategy (aka FLAVOR) on. E.g. ubuntu:20.04
COPY ./naming.sh .
ARG ISO_NAME=$(./naming.sh bootable_artifact_name)

WORKDIR /build
Expand All @@ -989,6 +995,14 @@ grype-scan:
COPY +grype/grype /grype
COPY +version/VERSION ./
ARG KAIROS_VERSION=$(cat VERSION)
ARG TARGETARCH
ARG --required FAMILY # The dockerfile to use
ARG --required FLAVOR # The distribution E.g. "ubuntu"
ARG --required FLAVOR_RELEASE # The distribution release/version E.g. "20.04"
ARG --required VARIANT
ARG --required MODEL
ARG --required BASE_IMAGE # BASE_IMAGE is the image to apply the strategy (aka FLAVOR) on. E.g. ubuntu:20.04
COPY ./naming.sh .
ARG ISO_NAME=$(./naming.sh bootable_artifact_name)

WORKDIR /build
Expand Down

0 comments on commit 99dfa0e

Please sign in to comment.