release new subversion

This commit is contained in:
Yuli
2024-08-05 17:04:07 +03:00
parent a7ff29493a
commit 5409e96ea8
3 changed files with 9 additions and 2 deletions

View File

@@ -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
View 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