portable-portainer/build-virtual
Adolfo Delorenzo 5926fbd130 first commit
2021-10-05 22:48:34 -06:00

14 lines
511 B
Bash
Executable File

#!/bin/bash
imagename="portable-portainer"
if [ $# -eq 0 ];then
tagver="virtual"
else
tagver="${1}"
fi
echo "Now building: ${imagename}:${tagver}"
docker build --rm=true --no-cache=true --pull=true -t ${imagename}:${tagver} .
docker image tag portable-portainer:virtual registry.oe74.net/portable-portainer:virtual
docker image push registry.oe74.net/portable-portainer:virtual
#docker image push adelorenzo74/portable-portainer/portable-portainer:virtual
#docker push adelorenzo74/portable-portainer:virtual