Skip to content

Commit

Permalink
build: add wiz to extension build
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Oct 17, 2024
1 parent d50a9cd commit 586334e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/reusable-extension-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,20 @@ jobs:
# env:
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: ./
push: ${{ inputs.force_push_docker_image || github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
build-args: |
BUILD_SNAPSHOT=${{ !startsWith(github.ref, 'refs/tags/') }}
NAME=${{ github.repository }}
VERSION=${{ steps.meta.outputs.version }}
REVISION=${{ github.sha }}
- name: Download Wiz CLI
if: ${{ env.wiz_available == 'true' }}
run: curl -o wizcli https://downloads.wiz.io/wizcli/latest/wizcli-linux-amd64 && chmod +x wizcli
Expand All @@ -282,20 +296,6 @@ jobs:
if: ${{ env.wiz_available == 'true' }}
run: ./wizcli docker tag --image ghcr.io/${{ github.repository }}:${{ github.ref_name }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: ./
push: ${{ inputs.force_push_docker_image || github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
build-args: |
BUILD_SNAPSHOT=${{ !startsWith(github.ref, 'refs/tags/') }}
NAME=${{ github.repository }}
VERSION=${{ steps.meta.outputs.version }}
REVISION=${{ github.sha }}
snyk-monitor:
name: "[Release] Snyk Monitor latest"
uses: steadybit/extension-kit/.github/workflows/reusable-snyk-scan.yml@main
Expand Down

0 comments on commit 586334e

Please sign in to comment.