Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
Fix full_version setting in push-images.sh CTR
Browse files Browse the repository at this point in the history
The JANUS_VERSION is now set as an ARG and not an ENV any more in the
Dockerfiles.

Signed-off-by: Florian Hockmann <fh@florian-hockmann.de>
  • Loading branch information
FlorianHockmann committed May 8, 2019
1 parent bae1a15 commit 607fc1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion push-images.sh
Expand Up @@ -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}"
Expand Down

0 comments on commit 607fc1e

Please sign in to comment.