GAR integration: CI component for image replication
Context
Related to Google Artifact Registry Integration for Contai... (&11443 - closed).
Task
Create a new CI component that users can include in their pipeline to "automatically" copy an image from the GitLab Container Registry to the Google Artifact Registry.
This could look like the following:
include:
- component: gitlab.example.com/gcp/gar-mirror@1.0
inputs:
source: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
destination: us-central1-docker.pkg.dev/my-project/some-repo/some-package:tag
Edited by João Pereira