|
|
|
|
@ -34,13 +34,13 @@ jobs:
|
|
|
|
|
id: buildx
|
|
|
|
|
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
|
|
|
|
|
- name: Setup Syft
|
|
|
|
|
uses: anchore/sbom-action/download-syft@f8bdd1d8ac5e901a77a92f111440fdb1b593736b # v0.20.6
|
|
|
|
|
uses: anchore/sbom-action/download-syft@8e94d75ddd33f69f691467e42275782e4bfefe84 # v0.20.9
|
|
|
|
|
- name: Setup Cosign
|
|
|
|
|
uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 # v3.10.0
|
|
|
|
|
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
|
|
|
|
|
with:
|
|
|
|
|
cosign-release: v2.6.1 # TODO: remove after Flux 2.8 with support for cosign v3
|
|
|
|
|
- name: Setup Kustomize
|
|
|
|
|
uses: fluxcd/pkg/actions/kustomize@bf02f0a2d612cc07e0892166369fa8f63246aabb # main
|
|
|
|
|
uses: fluxcd/pkg/actions/kustomize@413a95f34fd69e98b3f3d79f7283dc9d85df8e7c # main
|
|
|
|
|
- name: Login to GitHub Container Registry
|
|
|
|
|
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
|
|
|
|
|
with:
|
|
|
|
|
@ -61,7 +61,7 @@ jobs:
|
|
|
|
|
run: |
|
|
|
|
|
kustomize build manifests/crds > all-crds.yaml
|
|
|
|
|
- name: Generate OpenAPI JSON schemas from CRDs
|
|
|
|
|
uses: fluxcd/pkg/actions/crdjsonschema@bf02f0a2d612cc07e0892166369fa8f63246aabb # main
|
|
|
|
|
uses: fluxcd/pkg/actions/crdjsonschema@413a95f34fd69e98b3f3d79f7283dc9d85df8e7c # main
|
|
|
|
|
with:
|
|
|
|
|
crd: all-crds.yaml
|
|
|
|
|
output: schemas
|
|
|
|
|
@ -103,7 +103,7 @@ jobs:
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
|
- name: Setup Kustomize
|
|
|
|
|
uses: fluxcd/pkg/actions/kustomize@bf02f0a2d612cc07e0892166369fa8f63246aabb # main
|
|
|
|
|
uses: fluxcd/pkg/actions/kustomize@413a95f34fd69e98b3f3d79f7283dc9d85df8e7c # main
|
|
|
|
|
- name: Setup Flux CLI
|
|
|
|
|
uses: ./action/
|
|
|
|
|
with:
|
|
|
|
|
@ -148,7 +148,7 @@ jobs:
|
|
|
|
|
--path="./flux-system" \
|
|
|
|
|
--source=${{ github.repositoryUrl }} \
|
|
|
|
|
--revision="${{ github.ref_name }}@sha1:${{ github.sha }}"
|
|
|
|
|
- uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 # v3.10.0
|
|
|
|
|
- uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
|
|
|
|
|
with:
|
|
|
|
|
cosign-release: v2.6.1 # TODO: remove after Flux 2.8 with support for cosign v3
|
|
|
|
|
- name: Sign manifests
|
|
|
|
|
|