feat(catalogue,helm,ci): add private OCI auth, offline catalogue mirror, CI image/SBOM, metrics config, and OpenShift overlay (#2153)

This commit is contained in:
sam committed 2026-11-27 22:13:30 +11:00
1 parent dd38d93a29
commit fdfcbab4bd
23 files changed
+1095 -12

No files matched your search

+48
View File
@@ -167,6 +167,54 @@ jobs:
cache-from: type=gha,scope=archie-agent
cache-to: type=gha,mode=max,scope=archie-agent
archie-image:
needs: [plan, gate]
outputs:
archie_digest: ${{ steps.archie.outputs.digest }}
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
with:
name: archie-ci
cleanup: false
- name: Log in to the Gitea registry
run: echo "${{ secrets.DEPLOY_TOKEN }}" | docker login git.catlow.cloud -u "${{ github.actor }}" --password-stdin
- name: Build and push archie
id: archie
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
with:
context: .
file: Dockerfile.archie
push: true
sbom: true
provenance: mode=max
tags: |
git.catlow.cloud/sam/archie:v${{ needs.plan.outputs.archied_version }}
git.catlow.cloud/sam/archie:sha-${{ needs.plan.outputs.sha }}
build-args: |
VERSION=${{ needs.plan.outputs.archied_version }}
REVISION=${{ needs.plan.outputs.sha }}
cache-from: type=gha,scope=archie
cache-to: type=gha,mode=max,scope=archie
- name: Sign image with cosign
if: env.COSIGN_PRIVATE_KEY != ''
env:
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
run: |
if command -v cosign >/dev/null 2>&1; then
cosign sign --yes --key env://COSIGN_PRIVATE_KEY "git.catlow.cloud/sam/archie@${{ steps.archie.outputs.digest }}"
else
echo "::warning::cosign binary not installed on runner; skipping signature"
fi
dist-zip:
needs: [plan, gate, archied-image, agent-image]
runs-on: self-hosted