Skip to content
Snippets Groups Projects
Commit e1b962a4 authored by Corné Lukken's avatar Corné Lukken Committed by Taya Snijder
Browse files

L2SS-912: tag_and_push_images check both _ and - for image names

parent d53ecef5
No related branches found
No related tags found
1 merge request!406Resolve L2SS-912 "Add ccd device"
...@@ -167,7 +167,7 @@ if [ ! -z "${1+x}" ] && [ "${1}" != "pull" ]; then ...@@ -167,7 +167,7 @@ if [ ! -z "${1+x}" ] && [ "${1}" != "pull" ]; then
fi fi
make build "${1}" make build "${1}"
docker tag "${2}" "${local_url}:${tag}" docker tag "${2}" "${local_url}:${tag}" || docker tag "${2/_/-}" "${local_url}:${tag}"
docker push "${local_url}:${tag}" docker push "${local_url}:${tag}"
fi fi
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment