Skip to content

Commit

Permalink
Change to access token
Browse files Browse the repository at this point in the history
  • Loading branch information
knapii-developments committed Jan 5, 2024
1 parent 5ec5d6d commit 75790ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/thurloe-build-tag-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: 'auth'
uses: google-github-actions/auth@v2
with:
token_format: 'id_token'
token_format: 'access_token'
workload_identity_provider: 'projects/1038484894585/locations/global/workloadIdentityPools/github-wi-pool/providers/github-wi-provider'
service_account: '[email protected]'
id_token_audience: "1038484894585-k8qvf7l876733laev0lm8kenfa2lj6bn.apps.googleusercontent.com"
Expand All @@ -52,17 +52,17 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh secret set DOCKER_PASSWORD < '${{ steps.auth.outputs.credentials_file_path }}'
gh secret set DOCKER_PASSWORD < '${{ steps.auth.outputs.access_token }}'
# Build and push jar to GCR
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build Thurloe jar
name: Build and push Thurloe jar
with:
directory: ./docker/build_jar.sh
registry: ${{ env.GCR_REGISTRY }}
tags: ${{ github.event.repository.full_name }}:${DOCKER_TAG}
image: $GCR_REGISTRY/${DOCKER_TAG}
username: _json_key
username: oauth2accesstoken
password: ${{ secrets.DOCKER_PASSWORD }}

report-to-sherlock:
Expand Down

0 comments on commit 75790ab

Please sign in to comment.