Skip to content

Commit

Permalink
test: with publish18
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivrij committed Dec 23, 2022
1 parent e53ef87 commit 1f6b90f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
echo ${{ secrets.GHCR_TOKEN }} | helm registry login ghcr.io -u $ --password-stdin
- name: helm package
run: |
helm package ./helm/ri --version $GITHUB_REF_NAME
VERSION = echo "$GITHUB_REF_NAME" | sed 's/v//'
helm package ./helm/ri --version $VERSION
- name: helm push
if: ${{ github.event_name == 'push' }}
run: |
REPO_NAME=$(echo 'print("${{ github.repository_owner }}".lower())' | python3 -)
helm push $CHART_NAME-$GITHUB_REF_NAME.tgz oci://ghcr.io/$REPO_NAME
VERSION = echo "$GITHUB_REF_NAME" | sed 's/v//'
helm push $CHART_NAME-$VERSION.tgz oci://ghcr.io/$REPO_NAME

0 comments on commit 1f6b90f

Please sign in to comment.