[release-1.36] Cherry-pick Metis CNI improvements and security fixes … #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tag gke-gcloud-auth-plugin | |
| on: | |
| push: | |
| branches: | |
| - 'release-1.*' | |
| paths: | |
| - 'cmd/gke-gcloud-auth-plugin/**' | |
| - 'go.mod' | |
| - 'go.sum' | |
| jobs: | |
| tag-gke-gcloud-auth-plugin: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| fetch-depth: 0 # Fetch all history and tags | |
| - name: Configure Git User | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| - name: Run auto-tag script | |
| env: | |
| DRY_RUN: "false" | |
| FORCE_BRANCH: ${{ github.ref_name }} | |
| COMPONENT_PREFIX: "gke-gcloud-auth-plugin/" | |
| run: ./tools/auto-tag.sh |