[v10.0.x] Security Scans: Exclude windows container scans (#69977) (#69980)

Security Scans: Exclude windows container scans (#69977)

* Exclude windows container scans

* Fixes according to reviewer's comments

(cherry picked from commit fa70fba0e3)

# Conflicts:
#	.drone.yml
This commit is contained in:
Dimitris Sotirakis
2023-06-13 11:07:55 +03:00
committed by GitHub
parent bae2511c2e
commit 287a3e545e
6 changed files with 35 additions and 31 deletions
+4 -4
View File
@@ -11,8 +11,8 @@ load(
"from_secret",
)
load(
"scripts/drone/utils/images.star",
"images",
"scripts/drone/utils/windows_images.star",
"windows_images",
)
def publish_ci_windows_test_image_pipeline():
@@ -28,7 +28,7 @@ def publish_ci_windows_test_image_pipeline():
steps = [
{
"name": "clone",
"image": images["wix_image"],
"image": windows_images["wix_image"],
"environment": {
"GITHUB_TOKEN": from_secret("github_token"),
},
@@ -39,7 +39,7 @@ def publish_ci_windows_test_image_pipeline():
},
{
"name": "build-and-publish",
"image": images["windows_server_core_image"],
"image": windows_images["windows_server_core_image"],
"environment": {
"DOCKER_USERNAME": from_secret("docker_username"),
"DOCKER_PASSWORD": from_secret("docker_password"),
+3 -3
View File
@@ -15,8 +15,8 @@ load(
"windows_wire_install_step",
)
load(
"scripts/drone/utils/images.star",
"images",
"scripts/drone/utils/windows_images.star",
"windows_images",
)
def windows_test_backend(trigger, edition, ver_mode):
@@ -39,7 +39,7 @@ def windows_test_backend(trigger, edition, ver_mode):
else:
steps.extend([{
"name": "windows-init",
"image": images["windows_go_image"],
"image": windows_images["windows_go_image"],
"depends_on": ["clone"],
"commands": [],
}])