1 Commits

Author SHA1 Message Date
Morten Olsen
86e03385c2 fix: missing nuclei path 2025-12-13 08:08:48 +01:00
3 changed files with 9 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64 # platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}

View File

@@ -60,7 +60,6 @@ USER 65532:65532
# Environment variables for nuclei # Environment variables for nuclei
ENV NUCLEI_TEMPLATES_PATH=/nuclei-templates ENV NUCLEI_TEMPLATES_PATH=/nuclei-templates
ENV NUCLEI_BINARY_PATH=/usr/local/bin/nuclei
ENV HOME=/home/nonroot ENV HOME=/home/nonroot
ENTRYPOINT ["/manager"] ENTRYPOINT ["/manager"]

View File

@@ -460,6 +460,14 @@ func (m *JobManager) buildJob(scan *nucleiv1alpha1.NucleiScan) *batchv1.Job {
}, },
}, },
}, },
{
Name: "NUCLEI_BINARY_PATH",
Value: "/usr/local/bin/nuclei",
},
{
Name: "NUCLEI_TEMPLATES_PATH",
Value: "", // Empty means use default location (~/.nuclei/templates)
},
}, },
}, },
}, },