Pipery ArgoCD CD#

Reusable GitHub Action for ArgoCD CD with structured logging via Pipery.

GitHub Marketplace Version License: MIT

Usage#

name: CD
on:
  push:
    branches: [main]

jobs:
  cd:
    uses: pipery-dev/pipery-argocd-cd@v1
    with:
      project_path: .
    secrets: inherit

Pipeline steps#

update image tag → ArgoCD sync → wait for rollout

Every step is logged to pipery.jsonl via psh and uploaded as a GitHub Actions artifact.

Inputs#

InputDescriptionDefault
project_pathPath to the project source tree..
config_filePath to the pipery config file..github/pipery/config.yaml
argocd_serverArgoCD server URL (e.g. argocd.example.com).``
argocd_appArgoCD application name.``
argocd_tokenArgoCD authentication token.``
image_nameContainer image name to update in ArgoCD.``
image_tagContainer image tag to deploy.${{ github.sha }}
sync_timeoutSeconds to wait for ArgoCD sync.300
prunePrune resources during sync.false
forceForce sync even if app is in sync.false
skip_updateSkip image tag update step.false
skip_syncSkip ArgoCD sync step.false
skip_status_checkSkip rollout status check.false
log_filePath to write the JSONL log file.pipery.jsonl

Observability#

Each run produces a pipery.jsonl file. Upload it as an artifact and inspect it with the Pipery Dashboard.

License#

MIT — see LICENSE.