mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-07 16:27:27 +00:00
Merge pull request #2107 from chanwit/json_schemas
Publish OpenAPI JSON schemas for Visual Studio Code IntelliSense
This commit is contained in:
commit
75a18b4548
2 changed files with 3 additions and 0 deletions
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
|
@ -61,8 +61,10 @@ jobs:
|
|||
with:
|
||||
crd: all-crds.yaml
|
||||
output: schemas
|
||||
combined_filename: crd-schemas.json
|
||||
- name: Archive the OpenAPI JSON schemas
|
||||
run: |
|
||||
mv schemas/crd-schemas.json ./output/crd-schemas.json
|
||||
tar -czvf ./output/crd-schemas.tar.gz -C schemas .
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v1
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ release:
|
|||
- glob: ./output/crd-schemas.tar.gz
|
||||
- glob: ./output/manifests.tar.gz
|
||||
- glob: ./output/install.yaml
|
||||
- glob: ./output/crd-schemas.json
|
||||
dockers:
|
||||
- image_templates:
|
||||
- 'fluxcd/flux-cli:{{ .Tag }}-amd64'
|
||||
|
|
|
|||
Loading…
Reference in a new issue