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:
@@ -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"),
|
||||
|
||||
@@ -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": [],
|
||||
}])
|
||||
|
||||
Reference in New Issue
Block a user