mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-10-28 16:42:30 +00:00
release new subversion
This commit is contained in:
4
build.sh
4
build.sh
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=$(cat ./version.txt)
|
||||
HASH=$(git rev-parse --short=12 HEAD)
|
||||
@@ -10,7 +10,7 @@ if [ -x ~/go/bin/packr ]; then
|
||||
elif [ -x "packr" ]; then
|
||||
echo "Fond packr"
|
||||
else
|
||||
echo "installing packr"
|
||||
echo "Installing packr"
|
||||
go install github.com/gobuffalo/packr/packr@latest
|
||||
fi
|
||||
|
||||
|
||||
7
docker-build-push.sh
Executable file
7
docker-build-push.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=$(cat ./version.txt)
|
||||
docker build -t securitybunker/databunker:$VERSION .
|
||||
docker tag securitybunker/databunker:$VERSION securitybunker/databunker:latest
|
||||
docker push securitybunker/databunker:$VERSION
|
||||
docker push securitybunker/databunker:latest
|
||||
Reference in New Issue
Block a user