Skip to content

add: gcloud docker config command #3

add: gcloud docker config command

add: gcloud docker config command #3

Workflow file for this run

name: Deploy Discord-Study
on:
push:
branches:
- "main"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: code checkout
uses: actions/checkout@v2

Check failure on line 14 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 14
- name: install gcloud CLI
uses: google-github-actions/setup-gcloud@v1
with:
project_id: ${{secrets.GOOGLE_PROJECT}}
service_account_key: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
export_default_credentials: true
- run: |
gcloud auth configure-docker us-central1-docker.pkg.dev
- name: build and push docker image
env:
GOOGLE_PROJECT: ${{secrets.GOOGLE_PROJECT}}