Skip to content

Commit

Permalink
add git action for build
Browse files Browse the repository at this point in the history
  • Loading branch information
JangAyeon committed Apr 14, 2024
1 parent 858321d commit 8c4401b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
service_account_key: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
export_default_credentials: true

# Configure docker to use the gcloud command-line tool as a credential helper
# Configure docker to use the g cloud command-line tool as a credential helper
- name: gcloud auth configure-docker
run: |
gcloud auth configure-docker us-central1-docker.pkg.dev
# Build docker image
- name: Build and Push docker image
env:
GOOLE_PROJECT: ${{secrets.GOOGLE_PROJECT}}
GOOGLE_PROJECT: ${{secrets.GOOGLE_PROJECT}}
run: |
docker build -f Dockerfile -t us-central1-docker.pkg.dev/$GOOGLE_PROJECT/discord-study-docker:$GITHUB_SHA .

0 comments on commit 8c4401b

Please sign in to comment.