Skip to content

Commit

Permalink
chore(deps): update to latest version of KW GH actions (#23)
Browse files Browse the repository at this point in the history
This brings the latest version of kwctl, which supports WASI policies.
That allows some cleanups inside of our GH actions.

Signed-off-by: Flavio Castelli <[email protected]>
  • Loading branch information
flavio authored Oct 13, 2023
1 parent b36e4f7 commit 9910bca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,7 @@ jobs:

steps:
- name: Install dependencies
uses: kubewarden/github-actions/[email protected]
# TODO: remove once we release kubewarden 1.7.0
- name: remove old kwctl
run: |
rm -rf ~/.kwctl
- name: Install experiemental kwctl
uses: kubewarden/github-actions/[email protected]
with:
KWCTL_VERSION: v1.7.0-rc1
uses: kubewarden/github-actions/[email protected]
- uses: actions/checkout@v4
with:
# until https://github.com/actions/checkout/pull/579 is released
Expand All @@ -52,7 +44,7 @@ jobs:
run: |
make e2e-tests
- name: Release
uses: kubewarden/github-actions/[email protected].9
uses: kubewarden/github-actions/[email protected].10
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
oci-target: ghcr.io/${{ github.repository_owner }}/policies/kyverno-dsl
9 changes: 1 addition & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
uses: kubewarden/github-actions/[email protected]
- name: remove old kwctl
run: |
rm -rf ~/.kwctl
- name: Install experiemental kwctl
uses: kubewarden/github-actions/[email protected]
with:
KWCTL_VERSION: v1.7.0-rc1
uses: kubewarden/github-actions/[email protected]
- uses: actions/checkout@v4
with:
# until https://github.com/actions/checkout/pull/579 is released
Expand Down

0 comments on commit 9910bca

Please sign in to comment.