Skip to content

Commit

Permalink
refactor(deploy-app.yaml): modify dagger command to use explicit flag…
Browse files Browse the repository at this point in the history
…s for better clarity

The dagger command in the GitHub Actions workflow has been updated to use explicit flags for credentials and storage. This change enhances the readability and maintainability of the workflow script by clearly specifying what each parameter is used for, making it easier for future modifications and debugging.
  • Loading branch information
cybersiddhu committed Jun 27, 2024
1 parent f953ef5 commit 57c8897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ jobs:

- name: export kubectl
run: |
dagger call -m $KOPS_MODULE with-kops with-kubectl with-cluster --name=${{ inputs.cluster }} --credentials=${{ steps.gcp_authentication.outputs.credentials_file_path }} --storage=${{ inputs.cluster_state_storage }} export-kubectl --output=$KUBECTL_CONFIG
dagger call -m $KOPS_MODULE with-kops with-kubectl with-cluster --name=${{ inputs.cluster }} with-credentials --credentials=${{ steps.gcp_authentication.outputs.credentials_file_path }} with-state-storage --storage=${{ inputs.cluster_state_storage }} export-kubectl --output=$KUBECTL_CONFIG

0 comments on commit 57c8897

Please sign in to comment.