Skip to content

Commit

Permalink
fix create file with permission in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Feb 27, 2024
1 parent b0a0c55 commit b9185a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/composite-set-k8s-cred/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
- id: 'set-id'
run: |
kubecfg_path=${{ runner.temp }}/.kube_config
install -m 600 $kubecfg_path
install -m 600 /dev/null $kubecfg_path
echo "${{ inputs.secrets }}" > $kubecfg_path
echo "KUBECONFIG=$kubecfg_path:$KUBECONFIG" >> $GITHUB_ENV
shell: bash

0 comments on commit b9185a6

Please sign in to comment.