diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index b3385c2ccd..551b417c58 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -70,7 +70,9 @@ jobs: KUBECONFIG_FILE: '${{ secrets.RELEASE_KUBECONFIG }}' - name: Set the base64 kubeconfig - run: echo 'RELEASE_KUBECONFIG=${{ secrets.RELEASE_KUBECONFIG }}' | base64 + run: | + base64_kubeconfig=$(echo ${{ secrets.RELEASE_KUBECONFIG }} | base64) + echo "RELEASE_KUBECONFIG=$base64_kubeconfig" >> $GITHUB_ENV - name: Re roll the services uses: actions-hub/kubectl@master diff --git a/.github/workflows/release-develop.yml b/.github/workflows/release-develop.yml index 8d3e9f4021..69d3b1410a 100644 --- a/.github/workflows/release-develop.yml +++ b/.github/workflows/release-develop.yml @@ -122,7 +122,9 @@ jobs: KUBECONFIG_FILE: '${{ secrets.RELEASE_KUBECONFIG }}' - name: Set the base64 kubeconfig - run: echo 'RELEASE_KUBECONFIG=${{ secrets.RELEASE_KUBECONFIG }}' | base64 + run: | + base64_kubeconfig=$(echo ${{ secrets.RELEASE_KUBECONFIG }} | base64) + echo "RELEASE_KUBECONFIG=$base64_kubeconfig" >> $GITHUB_ENV - name: Re roll the services uses: actions-hub/kubectl@master