Skip to content

Commit

Permalink
oci publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jesusfcr committed Aug 13, 2024
1 parent 601110a commit a6a9018
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ jobs:
charts_dir: stable
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Publish on ghcr.io
run: |
helm package stable/vulcan
helm login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,30 @@ jobs:
- name: Compare
run: |
./compare.sh base/stable/vulcan true
publish:

runs-on: ubuntu-latest

if: github.event_name == 'pull_request'

permissions:
contents: write
packages: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.13.3

- name: Login
run: helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}

- name: Publish on ghcr.io
run: |
helm package stable/vulcan
find . -name "vulcan-*.tgz" -exec helm push {} ghcr.io/adevinta/vulcan-charts/test \;

0 comments on commit a6a9018

Please sign in to comment.