Skip to content

Commit

Permalink
fix: push package to oci registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Międzybrodzki committed Jan 14, 2025
1 parent ca47b55 commit 0d71f3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
- name: Run chart-releaser
uses: helm/[email protected]
with:
packages_with_index: true
skip_upload: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push chart to oci registry
run: if [ -n "$(find . -name '.cr-release-packages')" ]; then cp .cr-release-packages/app*.tgz app.tgz && helm push app.tgz oci://ghcr.io/wojciechem/platformex/app; fi
run: if [ -n "$(find . -name '.cr-release-packages')" ]; then cp .cr-release-packages/app*.tgz app.tgz && helm push app.tgz oci://ghcr.io/wojciechem/platformex; fi
2 changes: 1 addition & 1 deletion charts/app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Flexible helm chart to deploy your apps to kubernetes cluster.
type: application

# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.2
version: 0.5.3

appVersion: 1.0.0

0 comments on commit 0d71f3a

Please sign in to comment.