From 9f3655aaa8baeaddd8a19e571b505b1bc435a4dd Mon Sep 17 00:00:00 2001 From: Bruno Bressi Date: Tue, 10 Sep 2024 15:19:04 +0200 Subject: [PATCH] chore: use secrets for helm login Signed-off-by: Bruno Bressi --- .github/workflows/helm.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml index 69bcdfa..7cde798 100644 --- a/.github/workflows/helm.yaml +++ b/.github/workflows/helm.yaml @@ -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