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 d3e7491 commit 135db7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,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-annotated.wasm registry://${{ env.OCI_TARGET }}:latest
./kwctl push policy-annotated.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-annotated.wasm registry://${{ env.OCI_TARGET }}:${OCI_TAG}
./kwctl push policy-annotated.wasm ${{ env.OCI_TARGET }}:${OCI_TAG}
-
name: Create Release
if: ${{ startsWith(github.ref, 'refs/tags/') }}
Expand Down

0 comments on commit 135db7d

Please sign in to comment.