mirror of
https://github.com/jtesta/ssh-audit.git
synced 2026-10-27 11:31:29 +01:00
Added support for building official docker images. (#76)
This commit is contained in:
1 parent
83d8014a50
commit
17780ff194
5 files changed
+44
No files matched your search
@@ -0,0 +1,13 @@
|
||||
VERSION = $(shell grep VERSION src/ssh_audit/globals.py | grep -E -o "'(v.*)'" | tr -d "'")
|
||||
ifeq ($(VERSION),)
|
||||
$(error "could not determine version!")
|
||||
endif
|
||||
|
||||
all:
|
||||
docker build -t positronsecurity/ssh-audit:${VERSION} .
|
||||
docker tag positronsecurity/ssh-audit:${VERSION} positronsecurity/ssh-audit:latest
|
||||
|
||||
upload:
|
||||
docker login
|
||||
docker push positronsecurity/ssh-audit:${VERSION}
|
||||
docker push positronsecurity/ssh-audit:latest
|
||||
Reference in new issue
Block a user