diff --git a/coder-sdk/image.go b/coder-sdk/image.go index ae39079d..f9478a8b 100644 --- a/coder-sdk/image.go +++ b/coder-sdk/image.go @@ -77,3 +77,8 @@ func (c Client) OrganizationImages(ctx context.Context, orgID string) ([]Image, func (c Client) UpdateImage(ctx context.Context, imageID string, req UpdateImageReq) error { return c.requestBody(ctx, http.MethodPatch, "/api/private/images/"+imageID, req, nil) } + +// UpdateImageTags refreshes the latest digests for all tags of the image. +func (c Client) UpdateImageTags(ctx context.Context, imageID string) error { + return c.requestBody(ctx, http.MethodPost, "/api/private/images/"+imageID+"/tags/update", nil, nil) +}
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: