Clean up
This commit is contained in:
parent
2f2ae3b1d4
commit
885c81d3ce
1 changed files with 5 additions and 1 deletions
|
@ -10,7 +10,11 @@ if [[ -z "$2" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "Starting build..."
|
||||
cp $1 ./prosody.deb
|
||||
docker build -t prosody/prosody:$2 .
|
||||
docker push prosody/prosody
|
||||
docker rmi prosody/prosody:$2
|
||||
|
||||
echo "Cleaning up..."
|
||||
docker rmi prosody/prosody:$2
|
||||
rm ./prosody.deb
|
Loading…
Reference in a new issue