#How Can I configure Serverless endpoint to always point to latest image?

4 messages · Page 1 of 1 (latest)

tardy pebble
#

I set my container image path to be like asia-northeast1-docker.pkg.dev/project-id/job-name/run-dev:latest for my serverless endpoint.
the behavior of serverless endpoint seems very unpredictable to me as it sometimes auto re-pull image with latest tag(this is the desired behavior), it uses initial version of image, it does not do anything and keeps using older version.

How can I stably make the endpoint to always use latest imaeg?

deft forum
#

Instead of using latest as version, tag the image with a version like v1.0.0. When you update to v1.0.1 in template, it triggers the endpoint to release and replace the old worker. Using the same tag can confuse the system

tardy pebble
#

I see thanks!

tardy pebble
#

@deft forum

update to v1.0.1 in template
is there an example to do this from GitHub actions? or can it be only modified manually from RunPod UI?