Skip to content
Snippets Groups Projects

Resolve "Add Automated Secrets Detection"

Merged Raul Barreras requested to merge 6-add-automated-secrets-detection into develop
2 files
+ 26
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 9
0
@@ -119,6 +119,14 @@ publish:
docker push $$image; \
done
#Update README.md based on the template ._README.md
TOOLSET := `echo "$(sort $(IMAGES_TO_PUBLISH))" | sed -e "s/ /\n - /g"))`
README_HEAD = `cat ./_README.md | sed -e 's/%CONTAINERS_LIST%.*//g'`
README_TAIL = `cat ./_README.md | sed -e '1,/%CONTAINERS_LIST%/d'`
update_readme:
@echo "$(README_HEAD)\n - $(TOOLSET) $(README_TAIL)" | sed -e "s/%LAST_UPDATE%/\n_Last update: `date`_ \n/g" > README.md
delete_dangling_images:
@echo "Removing dangling images"
@docker image prune -f
@@ -126,6 +134,7 @@ help:
@echo -e "make [all] \n\t # Creates all the images"
@echo -e "make <TARGET> \n\t # Creates an specific image"
@echo -e "make publish \n\t # Push the images to the UNL registry"
@echo -e "make update_readme \n\t Update the README.md file"
# @echo -e "make security \n\t # Send the images to Tenable. Use env variables TENABLE_IO_ACCESS_KEY and TENABLE_IO_SECRET_KEY"
debug:
Loading