diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +* diff --git a/release.sh b/release.sh new file mode 100644 index 0000000..d7c7b83 --- /dev/null +++ b/release.sh @@ -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"