Skip to content

Commit

Permalink
Update kwctl CLI parameters on GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed Jun 16, 2021
1 parent 531d7aa commit 15a1fff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ jobs:
- name: Publish Wasm policy artifact to OCI registry with the 'latest' tag
if: startsWith(github.ref, 'refs/heads/')
run: |
./kwctl push -p policy.wasm registry://${{ env.OCI_TARGET}}:latest
./kwctl push policy.wasm ${{ env.OCI_TARGET}}:latest
- name: Publish Wasm policy artifact to OCI registry with the version tag and 'latest'
if: startsWith(github.ref, 'refs/tags/')
run: |
export OCI_TAG=$(echo $GITHUB_REF | sed -e "s|refs/tags/||")
./kwctl push -p policy.wasm registry://${{ env.OCI_TARGET}}:${OCI_TAG}
./kwctl push policy.wasm ${{ env.OCI_TARGET}}:${OCI_TAG}
release:
needs: tests
Expand Down

0 comments on commit 15a1fff

Please sign in to comment.