Zilliqa's internal library of reusable GitHub composite actions.
| Action | Description |
|---|---|
actions/ci-dockerized-app-build-push |
Build a Docker image and push it to a GCP Artifact Registry, GCR, or Docker Hub. Includes registry/GHA layer caching, optional Trivy scanning, and SARIF upload. |
actions/generate-tag |
Generate an image tag from the short Git commit SHA. |
Each action's full input/output reference is in its own README.md, auto-generated from action.yml.
Reference an action with the standard uses: syntax. Pin to a major-version tag (@v3, @v4, …) — never @main from a consumer.
jobs:
build:
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v6
- name: Build & push image to GCP Artifact Registry
uses: Zilliqa/gh-actions-workflows/actions/ci-dockerized-app-build-push@v4
with:
file: ./Dockerfile
tag: europe-west1-docker.pkg.dev/zilliqa-prj/repo/app
tag-length: 7
tag-latest: ${{ github.ref == 'refs/heads/main' }}
registry: europe-west1-docker.pkg.dev
workload-identity-provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service-account: ${{ secrets.GCP_SERVICE_ACCOUNT }}
cache-key: ${{ github.event.repository.name }}
trivy-scan: trueMajor version tags (@v1, @v2, …) are mutable — they always point at the latest release of that major. Minor/patch tags (@v4.0.0) are immutable.
| Tag | Status |
|---|---|
@v4 |
Current stable. AWS support removed; GCP + Docker Hub only; Node 24 runtime. |
@v3 |
Frozen. |
@v2 |
Frozen — most existing consumers still pin here. |
@v1 |
Frozen — Node 12 / Node 16 era; migrate off when convenient. |
Each major release may include breaking changes; check the release notes before bumping. Cross-major migration guidance lives in the corresponding GitHub release.
- Composite actions in this repo target Node 24 runtime where the underlying third-party action requires it (e.g.,
actions/checkout@v6, the Docker stack@v4/@v7). Self-hosted runners must be on Actions Runner ≥2.327.1and a glibc ≥ 2.31 base image (Ubuntu 22.04+, Debian 12+). - AWS support has been removed in
@v4; Zilliqa workloads run on GCP. Consumers needing AWS authentication should stay on@v3or earlier.
- One change per PR; keep the scope small.
- The
update-readme.yamlworkflow regenerates per-actionREADME.mdfiles automatically whenaction.ymlchanges — no manual edits to the auto-doc tables. - Pre-existing tests live in
.github/workflows/test-*.ymland run on every push; add coverage for new behavior there.
See LICENSE.