Skip to content

Commit

Permalink
Set secret
Browse files Browse the repository at this point in the history
  • Loading branch information
knapii-developments committed Dec 13, 2023
1 parent 74f8d61 commit b6bf9a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/thurloe-build-tag-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
service_account: '[email protected]'
id_token_audience: "1038484894585-k8qvf7l876733laev0lm8kenfa2lj6bn.apps.googleusercontent.com"

- id: generate_docker_password
name: Generate Docker password
run: gh secret set DOCKER_PASSWORD << ${{ steps.auth.outputs.credentials_file_path }}

# Build and push jar to GCR
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build Thurloe jar
Expand All @@ -56,7 +60,7 @@ jobs:
tags: ${{ github.event.repository.full_name }}:${DOCKER_TAG}
image: $GCR_REGISTRY/${DOCKER_TAG}
username: _json_key
password: ${{ steps.auth.outputs.credentials_file_path }}
password: ${{ secrets.DOCKER_PASSWORD }}

report-to-sherlock:
# Report new thurloe version to Broad DevOps
Expand Down

0 comments on commit b6bf9a6

Please sign in to comment.