Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Install Syft in CI build machine

Neeraj Guptaae13d8557bd9
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d1a65e78b1..834c21fdb2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -16,6 +16,11 @@ jobs:
with:
fetch-depth: 0 # Important to ensure that GoReleaser works correctly
+ - name: Install latest Syft
+ run: |
+ wget $(curl -s https://api.github.com/repos/anchore/syft/releases/latest | grep 'browser_' | grep 'linux_amd64.rpm' | cut -d\" -f4) -O syft_latest_linux_amd64.rpm
+ sudo rpm -i syft_latest_linux_amd64.rpm
+
- name: Set up Go
uses: actions/setup-go@v4
with: