-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
31 lines (27 loc) · 866 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# note: call scripts from /scripts
build:
docker build -t ghcr.io/livinginsyn/moss:$(MOSS_TAG) .
publish:
docker push ghcr.io/livinginsyn/moss:$(MOSS_TAG)
run:
make build
docker run -it --rm \
-e PAT_puppetlabs=$(GH_TOKEN) \
-e MOSS_DEBUG=true \
-e MOSS_DEBUG_LIMIT=10 \
-v `pwd`/conf_test.yml:/usr/src/moss/configs/conf.yml \
-v `pwd`/configs/gitleaks.toml:/usr/src/moss/configs/gitleaks.toml \
-v `pwd`/sample_output:/output \
--name moss_r \
ghcr.io/livinginsyn/moss:$(MOSS_TAG)
run_debug:
make build
docker run -it --rm \
-e PAT_puppetlabs=$(GH_TOKEN) \
-e MOSS_DEBUG=true \
-e MOSS_DEBUG_LIMIT=10 \
-v `pwd`/conf_test.yml:/usr/src/moss/configs/conf.yml \
-v `pwd`/configs/gitleaks.toml:/usr/src/moss/configs/gitleaks.toml \
-v `pwd`/sample_output:/output \
--name moss_r \
ghcr.io/livinginsyn/moss:$(MOSS_TAG) /bin/bash