mirror of
https://github.com/morten-olsen/homelab-nuclei-operator.git
synced 2026-02-08 02:16:23 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86e03385c2 |
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -87,7 +87,7 @@ jobs:
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
# platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
@@ -60,7 +60,6 @@ USER 65532:65532
|
||||
|
||||
# Environment variables for nuclei
|
||||
ENV NUCLEI_TEMPLATES_PATH=/nuclei-templates
|
||||
ENV NUCLEI_BINARY_PATH=/usr/local/bin/nuclei
|
||||
ENV HOME=/home/nonroot
|
||||
|
||||
ENTRYPOINT ["/manager"]
|
||||
|
||||
@@ -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)
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user