This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #### Functions ### | |
| display_usage() { | |
| echo "This script must be run with Docker capable privileges and you should login to your registry before pushing!" | |
| echo -e "\nUsage:\n$0 <saved_image> [--push]\n" | |
| echo -e " <saved_image>\t\t\tThe image file to load and push" | |
| echo -e " [--push]\t\t\tPush to registry" | |
| echo -e "\nExample: $0 /mydir/ubuntu.tar --push " | |
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer