Merge branch 'master' into script-fixes

This commit is contained in:
Alhadis
2018-04-12 21:24:34 +10:00
2 changed files with 6 additions and 2 deletions

View File

@@ -147,6 +147,10 @@ unless $url
exit 1;
end
# Exit early if docker isn't installed or running.
log "Checking docker is installed and running"
command('docker', 'ps')
# Ensure the given URL is an HTTPS link
parts = parse_url $url
https = "https://#{parts[:host]}/#{parts[:user]}/#{parts[:repo]}"