Skip to content

Commit

Permalink
Merge pull request #19 from uw-it-aca/feature/verify-gcp-creds
Browse files Browse the repository at this point in the history
gcr push verify creds
  • Loading branch information
jlaney authored Jan 22, 2021
2 parents c36e91b + cf7444e commit 8806fc3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gcr-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ runs:
using: 'composite'

steps:
- name: Verify GCP credentials
shell: bash
run: |
if [[ -z "${{ inputs.gcp_json_key }}" ]]; then
echo "Missing GCP credentials"
exit 1
fi
- name: Docker login with GCP credentials
id: gcp-login
shell: bash
Expand Down

0 comments on commit 8806fc3

Please sign in to comment.