2021-10-06 04:48:34 +00:00
|
|
|
#!/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} .
|
2021-10-29 22:33:44 +00:00
|
|
|
docker image tag portable-portainer:virtual registry.oe74.net:443/portable-portainer:virtual
|
|
|
|
docker image push registry.oe74.net:443/portable-portainer:virtual
|
2021-10-06 04:48:34 +00:00
|
|
|
#docker image push adelorenzo74/portable-portainer/portable-portainer:virtual
|
|
|
|
#docker push adelorenzo74/portable-portainer:virtual
|