Skip to content

Commit

Permalink
ci: fix helm push error
Browse files Browse the repository at this point in the history
  • Loading branch information
fredleger committed Mar 19, 2024
1 parent 5f91584 commit 5ffefa0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,19 @@ jobs:
uses: hoverkraft-tech/[email protected]
with:
useOCIRegistry: true
username: ${{ vars.OCI_REGISTRY_USERNAME }}
username: ${OCI_REGISTRY_USERNAME}
# NOTE: access-token is the password for OCI registry
# cf https://github.com/bsord/helm-push/blob/5ec3320fb5720a0a5aa210d871999f2b836f2d97/entrypoint.sh#L37
access-token: ${{ secrets.OCI_REGISTRY_PASSWORD }}
registry-url: oci://${vars.OCI_REGISTRY}/${vars.OCI_REGISTRY_CHART_REPOSITORY}
access-token: ${OCI_REGISTRY_PASSWORD}
registry-url: oci://${OCI_REGISTRY}/${OCI_REGISTRY_CHART_REPOSITORY}
chart-folder: helm/chart
force: true
update-dependencies: true
version: ${{ github.event.inputs.tagVersion }}
appVersion: ${{ github.event.inputs.tagVersion }}
env:
OCI_REGISTRY: ${{ vars.OCI_REGISTRY }}
OCI_REGISTRY_USERNAME: ${{ vars.OCI_REGISTRY_USERNAME }}
OCI_REGISTRY_PASSWORD: ${{ secrets.OCI_REGISTRY_PASSWORD }}
OCI_REGISTRY_CHART_REPOSITORY: ${{ vars.OCI_REGISTRY_CHART_REPOSITORY }}

0 comments on commit 5ffefa0

Please sign in to comment.