add release script and dockerignore
This commit is contained in:
19
release.sh
Normal file
19
release.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
TAG="${1}"
|
||||
BASE=$(echo ${TAG} | cut -d":" -f1)
|
||||
|
||||
if [[ -z "${TAG}" ]]; then
|
||||
echo "You must specify a container tag. ex: lalanza808/monero:v0.17.1.8"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docker build -t "${TAG}" -f dockerfiles/monero_nocompile .
|
||||
|
||||
docker tag "${TAG}" "${BASE}:latest"
|
||||
|
||||
docker push "${TAG}"
|
||||
|
||||
docker push "${BASE}:latest"
|
||||
Reference in New Issue
Block a user