Skip to content

Commit

Permalink
Fix gcloud warning and move login auth to env var
Browse files Browse the repository at this point in the history
  • Loading branch information
mitulshah-suse committed Jul 5, 2024
1 parent 2ab3b4f commit 68053d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
destination: releases.rancher.com/kontainer-driver-metadata/${{ github.ref_name }}
parent: false
predefinedAcl: publicRead
process_gcloudignore: false
headers: |-
cache-control: public,no-cache,proxy-revalidate
Expand All @@ -101,5 +102,6 @@ jobs:
secret/data/github/repo/${{ github.repository }}/github-token/credentials token | PAT_TOKEN
- name: Run dispatch
run: |
echo ${{ env.PAT_TOKEN }} | gh auth login --with-token
gh workflow run "Go Generate" --repo rancher/rke --ref release/v1.4 -F source_author=${{ github.actor }}
gh workflow run "Go Generate" --repo rancher/rke --ref release/v1.4 -F source_author=${{ github.actor }}
env:
GH_TOKEN: ${{ env.PAT_TOKEN }}

0 comments on commit 68053d1

Please sign in to comment.