diff --git a/README.md b/README.md index 836670c..2c900ff 100644 --- a/README.md +++ b/README.md @@ -80,10 +80,10 @@ build-multi-platform.sh build-multi-platform.sh -t "other_tag" # Build with tag "metube" and Upload do Docker Registry -build-multi-platform.sh -p true +build-multi-platform.sh -p # Build with tag "other_tag" and Upload do Docker Registry -build-multi-platform.sh -t "other_tag" -p true +build-multi-platform.sh -t "other_tag" -p ``` ## Development notes diff --git a/build-multi-platform.sh b/build-multi-platform.sh index 7f56cc9..b1f78ad 100755 --- a/build-multi-platform.sh +++ b/build-multi-platform.sh @@ -8,14 +8,14 @@ while getopts ":hhelpf:t:p:" ARGS; do case $ARGS in h|help ) - echo -e "Usgae:\n\t-t \"Tag\"\n\t\tuse a specific Tag\n\t-p true\n\t\tPush the Image do a registry. Needs to be logged in (docker login).\n\t-h\n\t\t Show this Help Dialog" + echo -e "Usgae:\n\t-t \"Tag\"\n\t\tuse a specific Tag\n\t-p\n\t\tPush the Image do a registry. Needs to be logged in (docker login).\n\t-h\n\t\t Show this Help Dialog" exit 1 ;; t ) TAG="${OPTARG}" ;; p ) - PUSH="${OPTARG}" + PUSH="true" ;; esac done