100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Disable Anchore scan without push (#1596)
Wouter Borneee4cd9832b8
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex 84133b52e..5116da447 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -746,7 +746,7 @@ jobs:${{ steps.manager-docker-command.outputs.value }}- name: Scan manager docker image- if: steps.manager-docker-command.outputs.value != ''+ if: steps.manager-docker-command.outputs.pushRequired == 'true'uses: anchore/scan-action@v3id: manager-anchore-scanwith:@@ -757,7 +757,7 @@ jobs:- name: Upload Anchore scan SARIF reportif: |!cancelled() &&- steps.manager-docker-command.outputs.value != ''+ steps.manager-docker-command.outputs.pushRequired == 'true'uses: github/codeql-action/upload-sarif@v3with:sarif_file: ${{ steps.manager-anchore-scan.outputs.sarif }}@@ -765,7 +765,7 @@ jobs:- name: Inspect Anchore scan SARIF reportif: |!cancelled() &&- steps.manager-docker-command.outputs.value != ''+ steps.manager-docker-command.outputs.pushRequired == 'true'run: cat ${{ steps.manager-anchore-scan.outputs.sarif }}- name: Run maven publish command