add release script and dockerignore

testing-process-exporter
lza_menace 4 years ago
parent 9fa32ccf49
commit 82f2ffea03

@ -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"
Loading…
Cancel
Save