Commit 5fa01909 authored by Cooper, Caleb's avatar Cooper, Caleb

Update rse-bash-modules.sh

parent c6bc26b4
...@@ -23,11 +23,10 @@ func_rse_docker_cleanup() { ...@@ -23,11 +23,10 @@ func_rse_docker_cleanup() {
} }
func_rse_docker_build_push() { func_rse_docker_build_push() {
while getopts ":t:f:e:" opt; do while getopts ":t:f:" opt; do
case ${opt} in case ${opt} in
t) TAG="/${OPTARG}";; t) TAG="/${OPTARG}";;
f) FILE="${OPTARG}";; f) FILE="${OPTARG}";;
e) ENV_FILE="${OPTARG}";;
esac esac
done done
COMMIT_REF=$(echo "$CI_COMMIT_REF_NAME" | tr '[:upper:]' '[:lower:]' | tr '/' '_' | sed -e 's/^master$/latest/') COMMIT_REF=$(echo "$CI_COMMIT_REF_NAME" | tr '[:upper:]' '[:lower:]' | tr '/' '_' | sed -e 's/^master$/latest/')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment