Skip to content

Commit

Permalink
ci: fix helm push error with en vars interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
fredleger committed Mar 19, 2024
1 parent 5ffefa0 commit b1c98e2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ jobs:
uses: hoverkraft-tech/[email protected]
with:
useOCIRegistry: true
username: ${OCI_REGISTRY_USERNAME}
username: ${{ env.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: ${OCI_REGISTRY_PASSWORD}
registry-url: oci://${OCI_REGISTRY}/${OCI_REGISTRY_CHART_REPOSITORY}
access-token: ${{ env.OCI_REGISTRY_PASSWORD }}
registry-url: oci://${{ env.OCI_REGISTRY }}/${{ env.OCI_REGISTRY_CHART_REPOSITORY }}
chart-folder: helm/chart
force: true
update-dependencies: true
Expand All @@ -86,4 +86,3 @@ jobs:
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 b1c98e2

Please sign in to comment.