Skip to content

Commit

Permalink
push docker image to GCP registery
Browse files Browse the repository at this point in the history
  • Loading branch information
JangAyeon committed Apr 14, 2024
1 parent c65622b commit 521bb05
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,13 @@ jobs:
GOOGLE_PROJECT: ${{secrets.GOOGLE_PROJECT}}
run: |
docker build -f Dockerfile -t us-central1-docker.pkg.dev/$GOOGLE_PROJECT/discord-study-docker:$GITHUB_SHA .
- run: |
gcloud auth configure-docker us-central1-docker.pkg.dev
# Push docker image
- name: Push docker image
env:
GOOGLE_PROJECT: ${{secrets.GOOGLE_PROJECT}}

run: |
docker push us-central1-docker.pkg.dev/$GOOGLE_PROJECT/discord-study-docker:$GITHUB_SHA

0 comments on commit 521bb05

Please sign in to comment.