'Jetbrain Space Automation how to deploy an image to AWS EKS (Kubernetes)?

I am trying to be able to deploy an image from a space repository to AWS EKS. So far I managed to successfully save my docker image to Space. But I stuck at finding a way to upload my image to my cluster.

So far I've created the following to save my docker image to the registy. Does someone know how I could push this towards AWS EKS? Thank you in advance for taking the time help me!

job("Build Image and save to registry") {
    startOn {
        gitPush {
            branchFilter {
                +"refs/heads/main"
            }
        }
    }
    
    docker {
        resources {
            cpu = 512
            memory = 1024
        }

        build {
            context = "."
            file = "Dockerfile"
        }
    
        push("<my-private>.registry.jetbrains.space/p/repo/repo/image:latest")
    }
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source