Push the right tag
diff --git a/publish.sh b/publish.sh
index 47d1f38..d435b17 100755
--- a/publish.sh
+++ b/publish.sh
@@ -132,7 +132,10 @@
         echo "Creating tag ${target} pointing to ${source}"
         docker-tag "${source}" "${target}"
         if [ ! "$dry_run" = true ]; then
-            docker push "jenkinsci/jenkins:${source}"
+            echo "Pushing jenkinsci/jenkins:${target}"
+            docker push "jenkinsci/jenkins:${target}"
+        else
+            echo "Would push jenkinsci/jenkins:${target}"
         fi
     fi
 }