Skip to content

Commit 68ca4c5

Browse files
committed
removed arm build for nuclei
1 parent c83aacb commit 68ca4c5

File tree

1 file changed

+3
-9
lines changed
  • integrations/nuclei_analyzer/hooks

1 file changed

+3
-9
lines changed

integrations/nuclei_analyzer/hooks/build

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ echo "$DOCKERFILE_PATH"
77
echo "current branch"
88
echo "$SOURCE_BRANCH"
99

10-
version_regex='^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$'
11-
if [[ "$SOURCE_BRANCH" == "master" || "$SOURCE_BRANCH" == "test_arm" || "$SOURCE_BRANCH" =~ $version_regex ]]; then
12-
echo "The branch is master, proceeding with multi-arch build"
13-
docker buildx create --name multiarch --use
14-
docker buildx build -f "$DOCKERFILE_PATH" -t "$IMAGE_NAME" --platform linux/arm64,linux/amd64 --push .
15-
else
16-
echo "The branch is not master, proceeding with classic build"
17-
docker buildx build -f "$DOCKERFILE_PATH" -t "$IMAGE_NAME" --push .
18-
fi
10+
# ARM is not supported here
11+
echo "The branch is not master, proceeding with classic build"
12+
docker buildx build -f "$DOCKERFILE_PATH" -t "$IMAGE_NAME" --push .

0 commit comments

Comments
 (0)