diff --git a/contrib/release-dokku b/contrib/release-dokku index c8dd76fd0..8dcd52149 100755 --- a/contrib/release-dokku +++ b/contrib/release-dokku @@ -372,8 +372,8 @@ main() { fn-build-docker-image "$NEXT_VERSION" || log-fail "Error building docker image" if [[ "$IS_RELEASE" == "true" ]]; then - docker tag "dokku/dokku:$VERSION" "dokku/dokku:latest" - docker push "dokku/dokku:$VERSION" + docker tag "dokku/dokku:$NEXT_VERSION" "dokku/dokku:latest" + docker push "dokku/dokku:$NEXT_VERSION" docker push "dokku/dokku:latest" fi fn-repo-push-tags "$IS_RELEASE"