Skip to content

Commit d2c79c7

Browse files
authored
Merge pull request #88 from authzed/kustomizer
switch to kustomizer for manifest generation
2 parents 3302f96 + 4a43c71 commit d2c79c7

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/build-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
outputs:
1919
codechange: "${{ steps.code-filter.outputs.codechange }}"
2020
steps:
21-
- uses: "actions/checkout@v2"
21+
- uses: "actions/checkout@v3"
2222
- uses: "dorny/paths-filter@v2"
2323
id: "code-filter"
2424
with:

.github/workflows/release.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
with:
3737
cmd: |
3838
yq eval '.images[0].newTag="${{ github.ref_name }}"' -i ./release/deploy/kustomization.yaml
39+
- name: "Setup Kustomizer CLI"
40+
uses: "stefanprodan/kustomizer/action@main"
3941
- name: "Build release bundle.yaml"
40-
uses: "karancode/kustomize-github-action@master"
41-
with:
42-
kustomize_build_dir: "release/deploy"
43-
kustomize_output_file: "release/bundle.yaml"
42+
run: |
43+
kustomizer build inventory -k release/deploy > release/bundle.yaml
4444
- uses: "goreleaser/goreleaser-action@v2"
4545
with:
4646
distribution: "goreleaser-pro"
@@ -49,8 +49,6 @@ jobs:
4949
env:
5050
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
5151
GORELEASER_KEY: "${{ secrets.GORELEASER_KEY }}"
52-
- name: "Setup Kustomizer CLI"
53-
uses: "stefanprodan/kustomizer/action@main"
5452
- name: "Push release manifests"
5553
run: |
5654
kustomizer push artifact ${KUSTOMIZER_ARTIFACT}:${{ github.ref_name }} -k ./release/deploy \

0 commit comments

Comments
 (0)