container-registry-setup

Configure and manage container registries with Terraform, Docker Compose, and CI/CD pipelines.

19|5|Updated Nov 23, 2025
One-click install
npx skills add https://github.com/Nir-Bhay/markups --skill container-registry-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: container-registry-setup
Source: https://github.com/Nir-Bhay/markups/tree/main/.agents/skills/container-registry-setup
Command: npx skills add https://github.com/Nir-Bhay/markups --skill container-registry-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the complex process of setting up, configuring, and integrating various container registries, ensuring secure and efficient image management.

Core Features & Use Cases

  • Registry Configuration: Provides setup guides for cloud-managed (ECR, Artifact Registry, ACR, Docker Hub) and self-hosted (Harbor, Nexus, Artifactory) registries.
  • Security Best Practices: Details on vulnerability scanning, image signing (Cosign), and content trust.
  • CI/CD Integration: Examples for GitHub Actions and GitLab CI to automate build and push workflows.
  • Use Case: You need to set up a new AWS ECR repository for your application, configure immutable tags, enable scanning, and set up a lifecycle policy to clean up old images.

Quick Start

Configure an AWS ECR repository named 'my-application' with immutable tags and scan-on-push enabled using Terraform.

Frequently Asked Questions about container-registry-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an AWS ECR repository with Terraform including immutable tags and lifecycle policies?

Configuring AWS ECR with Terraform involves defining repository resources with immutable tags, enabling scanning, and setting lifecycle policies to clean up old images for efficient image management.

What's the best way to configure a self-hosted Harbor container registry?

Configuring a self-hosted Harbor container registry is best done using Docker Compose. This method simplifies the deployment process and allows you to manage your own container images securely within your infrastructure.

How do I integrate container registry authentication into Kubernetes using image pull secrets?

Integrating container registry authentication into Kubernetes requires creating image pull secrets. You configure these secrets in your cluster to allow pods to securely authenticate and pull images from your private container registry.

Can I automate pushing Docker images to a container registry using GitHub Actions and GitLab CI?

Yes, you can automate pushing Docker images to a container registry using CI/CD pipelines. The Skill provides integration examples for GitHub Actions and GitLab CI to automate your build and push workflows efficiently.

How do I secure container images using Trivy, Grype, and Cosign?

Securing container images involves vulnerability scanning with Trivy and Grype, alongside image signing with Cosign. Implementing these security best practices ensures content trust and protects your containerized applications.

Why is my container registry slow and how do I optimize performance with caching?

Container registry performance issues can be resolved by implementing registry caching. Optimizing performance through caching mechanisms reduces pull times and improves overall efficiency when distributing images across your environments.