Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@ name: πŸš€ CD
# Publishes the org's declarative GitHub state (deploy/) as a cosign-signed OCI
# artifact consumed by the platform cluster's `github-config` tenant. There is
# NO container image here β€” only manifests β€” so it delegates to the shared
# manifests-only publish workflow in devantler-tech/reusable-workflows (the
# manifests-only publish workflow in devantler-tech/actions (the
# manifests-only sibling of publish-app.yaml).
#
# The OCI path is `github-config` (not the repo name) because `.github` is an
# invalid OCI path component (leading dot) β€” hence the oci-name override.
#
# Because signing runs INSIDE the reusable workflow, the cosign certificate
# identity (OIDC subject) is that workflow's path β€”
# https://github.com/devantler-tech/reusable-workflows/.github/workflows/publish-manifests.yaml@<ref>
# https://github.com/devantler-tech/actions/.github/workflows/publish-manifests.yaml@<ref>
# β€” NOT this repo's cd.yaml. The platform `github-config` OCIRepository's
# verify.matchOIDCIdentity.subject must match that (see
# k8s/providers/hetzner/github/sync.yaml in devantler-tech/platform).
# k8s/bases/apps/github-config/oci-repository.yaml in devantler-tech/platform),
# so this repo's workflow-source swap MUST land only after the platform
# verifier accepts the devantler-tech/actions subject.

on:
push:
Expand All @@ -35,6 +37,6 @@ jobs:
# Renovate manages this pin, as it does for publish-app.yaml elsewhere.
# The platform verifier matches `@.+$`, so the ref does not affect cosign
# verification.
uses: devantler-tech/reusable-workflows/.github/workflows/publish-manifests.yaml@f974f62a8cb396130fa084d209ad1fc17e99b9fc # v5.6.1
uses: devantler-tech/actions/.github/workflows/publish-manifests.yaml@061b345a7351b0caf23055caea63ccd08b75e20e # v8.0.0
with:
oci-name: devantler-tech/github-config
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ permissions:

jobs:
release:
uses: devantler-tech/reusable-workflows/.github/workflows/create-release.yaml@c830916321473ec23bb612e41de963b9b01af897 # v5.6.6
uses: devantler-tech/actions/.github/workflows/create-release.yaml@061b345a7351b0caf23055caea63ccd08b75e20e # v8.0.0
secrets:
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}