Skip to content

Commit

Permalink
change secret handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mabulgu committed Mar 21, 2024
1 parent c32bea2 commit fcdcff9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:

- name: Bake and push image
uses: docker/build-push-action@v1.1.0
env:
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG }}
with:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
Expand All @@ -63,7 +65,7 @@ jobs:
dockerfile: ./Dockerfile
push: true
build-args: |
"KUBECONFIG_CONTENT=${{ secrets.KUBECONFIG }}"
"KUBECONFIG_CONTENT=$KUBECONFIG_CONTENT"
upload_build_data_artifact:
runs-on: ubuntu-latest
Expand Down

0 comments on commit fcdcff9

Please sign in to comment.