Skip to content

Commit

Permalink
Workflows: Add OCI Release
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Layfield <[email protected]>
  • Loading branch information
DandyDeveloper committed Nov 7, 2024
1 parent 3d04195 commit 43cfdba
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Publish Charts to /docs

on:
push:
branches: [ master ]

jobs:
release:
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
contents: write
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -33,3 +34,11 @@ jobs:
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.CR_TOKEN }}"

- name: Run chart-releaser (OCI)
uses: bitdeps/[email protected]
with:
oci_registry: ghcr.io/username
oci_username: ${{ secrets.USERNAME }}
oci_password: ${{ secrets.CR_TOKEN }}
github_token: ${{ secrets.CR_TOKEN }}

0 comments on commit 43cfdba

Please sign in to comment.