File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,8 +27,9 @@ if [[ -n $CIRCLE_TAG ]]; then
2727 # Only push on a tag
2828 extraArgs+=(" --push" )
2929else
30+ # TODO: buildx doesn't currently support this.
3031 # Load it into the docker cache so we can run twist-scan
31- extraArgs+=(" --load" )
32+ # extraArgs+=("--load")
3233fi
3334
3435echo " 🔨 Building Docker Image"
@@ -39,8 +40,9 @@ docker buildx build --ssh default --progress=plain \
3940 --build-arg " VERSION=${VERSION} " " ${extraArgs[@]} " .
4041set +x
4142
42- if [[ -z $CIRCLE_TAG ]]; then
43- # Scan the built image
44- info " Scanning docker image for vulnerabilities"
45- /usr/local/bin/twist-scan.sh " $appName "
46- fi
43+ # TODO: Re-enable this when buildx supports exporting multiple-manifest docker images
44+ # if [[ -z $CIRCLE_TAG ]]; then
45+ # # Scan the built image
46+ # info "Scanning docker image for vulnerabilities"
47+ # /usr/local/bin/twist-scan.sh "$appName"
48+ # fi
You can’t perform that action at this time.
0 commit comments