ankra-cicd

Automate container image builds, immutable tagging, and GitOps repository updates for Ankra sync.

26|2|Updated Jul 11, 2025
One-click install
npx skills add https://github.com/ankraio/ankra-cli --skill ankra-cicd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ankra-cicd
Source: https://github.com/ankraio/ankra-cli/tree/main/internal/skills/embedded/skills/ankra-cicd
Command: npx skills add https://github.com/ankraio/ankra-cli --skill ankra-cicd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates end-to-end CI/CD workflows for Ankra-managed apps by building container images, tagging immutably, and updating the GitOps repository so Ankra/ArgoCD detects and reconciles the change, removing direct cluster operations from CI.

Core Features & Use Cases

  • Immutable tagging: always push images with a commit SHA or semver tag and never use a moving tag like latest.
  • GitOps-based promotion: update the GitOps repo (values files) to promote the same image across environments, letting ArgoCD reconcile automatically.
  • Provider-agnostic pipelines: supports GitHub Actions and GitLab CI with practical examples.

Quick Start

Configure your CI to build an image, push an immutable tag, and bump the tag in the GitOps repo to trigger Ankra sync.

Frequently Asked Questions about ankra-cicd

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

FAQPage Schema
How do I automate container image tagging and GitOps promotion in CI?

Automate container image tagging and GitOps promotion by building images in CI, pushing immutable tags, and updating the GitOps repository values files to trigger automated ArgoCD sync across environments.

What is immutable tagging in a GitOps CI/CD pipeline?

Immutable tagging in a GitOps CI/CD pipeline requires pushing container images with a commit SHA or semver tag instead of moving tags like latest, ensuring ArgoCD reconciles predictable application states.

Does this Ankra CI/CD automation work with both GitHub Actions and GitLab CI?

Yes, this Ankra CI/CD automation supports both GitHub Actions and GitLab CI pipelines, providing practical examples to build, push, and promote container images across environments.

Why does my CI/CD pipeline need a writable GitOps repository?

Your CI/CD pipeline needs a writable GitOps repository because CI updates values files with new immutable image tags, allowing Ankra and ArgoCD to detect and reconcile the change without direct cluster operations.

What permissions are required to trigger ArgoCD sync from a CI pipeline?

Triggering ArgoCD sync from a CI pipeline requires registry write permissions to push images and write access to the GitOps repository to update immutable tags, enforcing automated Ankra reconciliation.