Install Syft in CI build machine
This commit is contained in:
parent
7a8de8fc4b
commit
ae13d8557b
1 changed files with 5 additions and 0 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue