Skip to content

Commit

Permalink
build: remove wiz pov changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Nov 4, 2024
1 parent 88b9356 commit 6cc2b99
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,30 +125,6 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64${{ (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main') && ',linux/arm64' || '' }} #for branches we just do a load, and this supports no multi-arch

- name: Download CLI & Authenticate to Wiz
run: |
curl -o wizcli https://downloads.wiz.io/wizcli/latest/wizcli-linux-amd64 && chmod +x wizcli
./wizcli auth --id "$WIZ_CLIENT_ID" --secret "$WIZ_CLIENT_SECRET"
env:
WIZ_CLIENT_ID: ${{ secrets.WIZ_CLIENT_ID }}
WIZ_CLIENT_SECRET: ${{ secrets.WIZ_CLIENT_SECRET }}

- name: Run wiz-cli docker image scan
run: |
docker pull steadybit/${{ matrix.image.name || matrix.image.folder }}:${{ github.ref_name }}
./wizcli docker scan --image steadybit/${{ matrix.image.name || matrix.image.folder }}:${{ github.ref_name }} --policy "Extensions Policy" --tag github_action_run_id=${{ github.run_id }}
./wizcli docker tag --image steadybit/${{ matrix.image.name || matrix.image.folder }}:${{ github.ref_name }} --digest ${{ steps.image.outputs.digest }}
# temporary to compare results to WIZ
- name: "Snyk test docker image"
uses: snyk/actions/docker@master
with:
image: "steadybit/${{ matrix.image.name || matrix.image.folder }}:${{ github.ref_name }}"
args: --file=${{ matrix.image.folder }}/Dockerfile --target-reference=${{ github.ref_name }} --username=${{ secrets.DOCKER_USERNAME }} --password=${{ secrets.DOCKER_PASSWORD }}
command: test
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

- name: "[main] Snyk monitor docker image"
if: ${{ github.ref == 'refs/heads/main' }}
uses: snyk/actions/docker@master
Expand Down

0 comments on commit 6cc2b99

Please sign in to comment.