You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
336 B
Bash
20 lines
336 B
Bash
#!/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/wownero:v0.9.2.1"
|
|
exit 1
|
|
fi
|
|
|
|
docker build -t "${TAG}" -f dockerfiles/wownerod_nocompile .
|
|
|
|
docker tag "${TAG}" "${BASE}:latest"
|
|
|
|
docker push "${TAG}"
|
|
|
|
docker push "${BASE}:latest"
|