Skip to content

Commit

Permalink
Fixed script
Browse files Browse the repository at this point in the history
  • Loading branch information
Fmstrat committed Jul 6, 2017
1 parent 6d014b6 commit 88aeada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ for IMAGE in $IMAGES; do
# File does exist, do a compare
NEW=$(curl -s "https://registry.hub.docker.com/v2/repositories/${IMAGE}/tags/")
OLD=$(cat "${DATAPATH}/${PARSED}")
if [[ "${VAR1}" == "${VAR2}" ]]; then
if [[ "${OLD}" == "${NEW}" ]]; then
echo "Image ${IMAGE} is up to date";
else
echo ${NEW} > "${DATAPATH}/${PARSED}"
Expand Down

0 comments on commit 88aeada

Please sign in to comment.