Skip to content

Commit 9ed8c9b

Browse files
author
Jared Allard
committed
fix: disable twist-scan
1 parent 17d515a commit 9ed8c9b

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

shell/docker-builder.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ if [[ -n $CIRCLE_TAG ]]; then
2727
# Only push on a tag
2828
extraArgs+=("--push")
2929
else
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")
3233
fi
3334

3435
echo "🔨 Building Docker Image"
@@ -39,8 +40,9 @@ docker buildx build --ssh default --progress=plain \
3940
--build-arg "VERSION=${VERSION}" "${extraArgs[@]}" .
4041
set +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

0 commit comments

Comments
 (0)