Skip to content

Unclear instructions for Google Artifact Registry login using Workload Identity #29618

Closed Answered by paololazzari
paololazzari asked this question in Request Help
Discussion options

You must be logged in to vote

Got this working. Full job:

jobs:
  renovate:
    permissions:
      contents: 'read'
      id-token: 'write'

    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/[email protected]

      - name: 'Google auth'
        id: google_auth
        uses: 'google-github-actions/auth@v2'
        with:
          project_id: '${{ env.PROJECT_ID }}'
          service_account: '${{ env.SERVICE_ACCOUNT }}'
          workload_identity_provider: '${{ env.WORKLOAD_IDENTITY_PROVIDER }}'
          token_format: "access_token"

      - name: Self-hosted Renovate
        uses: renovatebot/[email protected]
        with:
          configurationFile: .github/renovate.json

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@paololazzari
Comment options

@rarkins
Comment options

@paololazzari
Comment options

@rarkins
Comment options

Comment options

You must be logged in to vote
3 replies
@rarkins
Comment options

@paololazzari
Comment options

@rarkins
Comment options

Answer selected by paololazzari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants