build: fix issue with missing docker scan (#3501)

This commit is contained in:
Michal Kralik 2022-12-20 00:22:45 +01:00 committed by GitHub
parent 680925f872
commit fd53f86c84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,11 @@ jobs:
with:
go-version: 1.19.4
id: go
- name: Setup docker scan
run: |
mkdir -p ~/.docker/cli-plugins && \
curl https://github.com/docker/scan-cli-plugin/releases/latest/download/docker-scan_linux_amd64 -L -s -S -o ~/.docker/cli-plugins/docker-scan &&\
chmod +x ~/.docker/cli-plugins/docker-scan
- name: Code checkout
uses: actions/checkout@master
- name: Publish