From 98a4e80651adb599c4d87f670f23d53769b79fc6 Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Sat, 30 Dec 2023 15:30:26 -0500 Subject: [PATCH] feat: add dive command (#762) --- .github/workflows/build.yml | 2 +- Containerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca987c234ad..b47b67930fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,7 @@ jobs: if: matrix.base_name != 'bluefin' uses: EyeCantCU/cosign-action/verify@v0.2.1 with: - containers: flux, helm, ko, minio, kubectl + containers: dive, flux, helm, ko, minio, kubectl cert-identity: https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main oidc-issuer: https://token.actions.githubusercontent.com registry: cgr.dev/chainguard diff --git a/Containerfile b/Containerfile index cfc9aee9586..370a5cb474f 100644 --- a/Containerfile +++ b/Containerfile @@ -139,6 +139,7 @@ RUN rpm-ostree override replace --experimental --from repo=copr:copr.fedorainfra RUN wget https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 -O /tmp/docker-compose && \ install -c -m 0755 /tmp/docker-compose /usr/bin +COPY --from=cgr.dev/chainguard/dive:latest /usr/bin/dive /usr/bin/dive COPY --from=cgr.dev/chainguard/flux:latest /usr/bin/flux /usr/bin/flux COPY --from=cgr.dev/chainguard/helm:latest /usr/bin/helm /usr/bin/helm COPY --from=cgr.dev/chainguard/ko:latest /usr/bin/ko /usr/bin/ko