Skip to content

Fix/sud/trivy img scan#767

Closed
SudarshanaPanda wants to merge 3 commits intomainfrom
fix/sud/trivy_img_scan
Closed

Fix/sud/trivy img scan#767
SudarshanaPanda wants to merge 3 commits intomainfrom
fix/sud/trivy_img_scan

Conversation

@SudarshanaPanda
Copy link
Copy Markdown
Contributor

Signed-off-by: Sudarshana Panda <sudarshana.panda@intel.com>
Signed-off-by: Sudarshana Panda <sudarshana.panda@intel.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the Docker image scanning workflow by updating image names and tags to match the actual images being built and scanned.

  • Updates environment variable configurations to use specific version tags instead of latest
  • Corrects Docker image names to include the intel/ registry prefix for Trivy scanning commands
  • Ensures consistency between the images built and the images being scanned

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Signed-off-by: Sudarshana Panda <sudarshana.panda@intel.com>
@vkb1 vkb1 added the 2025.2 Time Series Sample Apps All the time series sample apps and multimodal sample app related activities for 2025.2 release label Oct 14, 2025
Copy link
Copy Markdown
Contributor

@vkb1 vkb1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @SudarshanaPanda ,
Seems like you missed to notice that we were not added as reviewers, please cross check next time else we would never know if there has been any PR raised for us to review.

Comment on lines +186 to +187
sed -i -e "s|OPC_UA_SERVER_IMAGE=.*|OPC_UA_SERVER_IMAGE=ia-opcua-server:1.0.0-weekly|g" .env
sed -i -e "s|MQTT_PUBLISHER_IMAGE=.*|MQTT_PUBLISHER_IMAGE=ia-mqtt-publisher:1.1.0-weekly|g" .env
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines are reduntant, can be removed.

@@ -183,24 +183,26 @@ jobs:
echo "Building Wind Turbine Sample App and scanning Image"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rename this as "Building Time Series sample apps and scanning images..."

Comment on lines +190 to +191
IMAGE_TO_SCAN1=${MQTT_PUBLISHER_IMAGE}${IMAGE_SUFFIX:+-${IMAGE_SUFFIX}}
IMAGE_TO_SCAN2=${OPC_UA_SERVER_IMAGE}${IMAGE_SUFFIX:+-${IMAGE_SUFFIX}}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can have a loop to execute the below steps for above 2 entries, the above 2 entries can be kept simple as below:
OPCUA_IMAGE=${OPC_UA_SERVER_IMAGE}-${IMAGE_SUFFIX}
MQTT_PUB_IMAGE=${OPC_UA_SERVER_IMAGE}-${IMAGE_SUFFIX}

@vkb1
Copy link
Copy Markdown
Contributor

vkb1 commented Nov 9, 2025

Closing as this PR is not required anymore.

@vkb1 vkb1 closed this Nov 9, 2025
@mkobyli mkobyli deleted the fix/sud/trivy_img_scan branch March 6, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2025.2 Time Series Sample Apps All the time series sample apps and multimodal sample app related activities for 2025.2 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants