diff --git a/push-images.sh b/push-images.sh index 1c7a036..8a55b57 100755 --- a/push-images.sh +++ b/push-images.sh @@ -11,7 +11,7 @@ latest_version=${versions[${#versions[@]}-1]} for v in "${versions[@]}"; do if [ -z "${version}" ] || [ "${version}" == "${v}" ]; then # read full version from Dockerfile - full_version=$(grep "ENV JANUS_VERSION" ${v}/Dockerfile | cut -d"=" -f 2) + full_version=$(grep "ARG JANUS_VERSION" ${v}/Dockerfile | cut -d"=" -f 2) # push relevant tags docker push "janusgraph/janusgraph:${full_version}" docker push "janusgraph/janusgraph:${v}"