chore: disable parallelization when running security action (#15666)

- `make -j` appears to be broken for clean builds
This commit is contained in:
Jon Ayers
2024-11-26 23:35:51 +02:00
committed by GitHub
parent a9195bfe74
commit 45d9274aca

View File

@ -130,7 +130,9 @@ jobs:
# the registry. # the registry.
export CODER_IMAGE_BUILD_BASE_TAG="$(CODER_IMAGE_BASE=coder-base ./scripts/image_tag.sh --version "$version")" export CODER_IMAGE_BUILD_BASE_TAG="$(CODER_IMAGE_BASE=coder-base ./scripts/image_tag.sh --version "$version")"
make -j "$image_job" # We would like to use make -j here, but it doesn't work with the some recent additions
# to our code generation.
make "$image_job"
echo "image=$(cat "$image_job")" >> $GITHUB_OUTPUT echo "image=$(cat "$image_job")" >> $GITHUB_OUTPUT
- name: Run Trivy vulnerability scanner - name: Run Trivy vulnerability scanner