Skip to content

Commit

Permalink
chore: use secrets for helm login
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Bressi <[email protected]>
  • Loading branch information
puffitos committed Sep 10, 2024
1 parent 5f457d9 commit 9f3655a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ jobs:
run: |
cd charts/opa-exporter
helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
helm registry login ${MTR} -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
helm registry login ${MTR} -u ${{ secrets.MTR_USERNAME }} -p ${{ secrets.MTR_PASSWORD }}
helm lint .
helm package .
helm push $(ls *.tgz| head -1) oci://ghcr.io/caas-team/charts
helm push $(ls *.tgz| head -1) oci://${MTR}/${REPO}/charts
env:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
MTR: mtr.devops.telekom.de
REPO: caas

0 comments on commit 9f3655a

Please sign in to comment.