Skip to content

Commit

Permalink
fix: push package to oci registry 5...
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Międzybrodzki committed Jan 14, 2025
1 parent 93d3d80 commit ff08065
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ jobs:
skip_existing: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io/wojciechem -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; 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.6
version: 0.5.7

appVersion: 1.0.0

0 comments on commit ff08065

Please sign in to comment.