Change GitLab CI image

MSAL

Change the name or tag of image and services entries in .gitlab-ci.yml.

org.openrewrite.gitlab.ChangeImage

Required

The name of the image to match, without tag or digest. Supports glob patterns, where * also matches /, so */eclipse-temurin matches the image under any registry prefix, but not a bare eclipse-temurin.

Optional

The tag of the image to match. Supports glob patterns. Matches any tag when omitted.

The name of the image to use instead. Keeps the existing name when omitted.

The tag of the image to use instead. Keeps the existing tag when omitted.

mod run . --recipe=org.openrewrite.gitlab.ChangeImage \ -P oldImageName=eclipse-temurin

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.