diff --git a/.github/workflows/boot-strategy-plugin.yml b/.github/workflows/boot-strategy-plugin.yml index 1f6b645aa..54be64362 100644 --- a/.github/workflows/boot-strategy-plugin.yml +++ b/.github/workflows/boot-strategy-plugin.yml @@ -61,7 +61,7 @@ jobs: run: ./gradlew bootBuildImage --imageName ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/boot-strategy-plugin:${{ env.VERSION }} - if: ${{ github.ref == 'refs/heads/main' }} name: OCI image vulnerability scanning - uses: anchore/scan-action@v5 + uses: anchore/scan-action@v6 id: scan with: image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/boot-strategy-plugin:${{ env.VERSION }}