Verify GCR Login #560
This file contains 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: Verify GCR Login | |
on: | |
schedule: | |
- cron: "5 1 * * *" # daily | |
workflow_dispatch: | |
jobs: | |
login: | |
name: Verify GCR Login | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
env: | |
PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
- id: login_to_gcp | |
uses: google-github-actions/auth@35b0e87d162680511bf346c299f71c9c5c379033 | |
with: | |
credentials_json: '${{ secrets.GCP_CREDENTIALS }}' | |
- name: Set up gcloud | |
uses: google-github-actions/setup-gcloud@e30db14379863a8c79331b04a9969f4c1e225e0b | |
- name: Configure Docker | |
run: gcloud auth configure-docker --quiet |