Skip to content

Commit

Permalink
setting up docker for artifact registry
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-downs committed Oct 10, 2023
1 parent b706ae0 commit dc7dba5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ jobs:
uses: docker/setup-buildx-action@v1
- uses: actions/checkout@v1
- name: Set up artifact registry
uses: "google-github-actions/auth@v1"
uses: google-github-actions/auth@v1
with:
credentials_json: '${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}'
- name: Set up gcloud
uses: google-github-actions/setup-gcloud@v0
with:
project_id: mythical-games
- name: Configure docker for artifact registry
run: |
gcloud auth configure-docker us-docker.pkg.dev
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
Expand Down

0 comments on commit dc7dba5

Please sign in to comment.