-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Using Microsoft Hosted Azure agent ubuntu-latest getting following error:
Status: Downloaded newer image for owasp/zap2docker-stable:latest
WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v4) and no specific platform was requested
exec /zap/zap-full-scan.py: exec format error
When I go to https://hub.docker.com/r/owasp/zap2docker-stable/tags?page=&page_size=&name=&ordering=last_updated
I see only arm64 images, did stop building amd64 images? I have many, many pipelines that use the scanner and this will be close to breaking lots o' things.
edit: I did find that there is a owasp/zap2docker-bare that is amd64 image, and I tried to pin the image using "inputs:
version: "owasp/zap2docker-bare:latest"
in the task inputs, but it still grabbed the arm64 version (stable-latest), is there a way to specify which image to download/use in the task?
pipeline code:
- task: owaspzap@1
displayName: 'ZAP Scanner'
continueOnError: true
inputs:
aggressivemode: ${{ parameters.agressiveMode }}
threshold: ${{ parameters.threshold }}
scantype: targetedScan
url: ${{ parameters.url }}
port: 443
Thank you in advance for any help!