From 61eb13000ac269cee1263370da93c666550827a7 Mon Sep 17 00:00:00 2001 From: Sascha Schwarze Date: Mon, 4 Nov 2024 10:52:19 +0100 Subject: [PATCH] Install crane binary Signed-off-by: Sascha Schwarze --- .github/workflows/report-release-vulnerabilities.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/report-release-vulnerabilities.yaml b/.github/workflows/report-release-vulnerabilities.yaml index 3196db60d..dcf65447b 100644 --- a/.github/workflows/report-release-vulnerabilities.yaml +++ b/.github/workflows/report-release-vulnerabilities.yaml @@ -18,6 +18,8 @@ jobs: go-version: '1.22.x' cache: true check-latest: true + - name: Install crane + run: curl --location --silent "https://github.com/google/go-containerregistry/releases/download/$(curl -s https://api.github.com/repos/google/go-containerregistry/releases/latest | jq -r '.tag_name')/go-containerregistry_$(uname -s)_$(uname -m | sed -e 's/aarch64/arm64/').tar.gz" | sudo tar -xzf - -C /usr/local/bin crane - name: Install Retry run: curl --silent --location https://raw.githubusercontent.com/homeport/retry/main/hack/download.sh | bash - name: Install Trivy