Skip to content

Commit

Permalink
chore: fix docker auth
Browse files Browse the repository at this point in the history
  • Loading branch information
althafdaa committed Sep 3, 2024
1 parent e6df1de commit 123643d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Login to Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.SERVICE_ACCOUNT }}
- name: Docker auth
run: |
gcloud auth configure-docker ${{ vars.DOCKER_REGISTRY_LOCATION }} --quiet
- name: Pull docker image
run: |
docker pull ${{ vars.DOCKER_REGISTRY_LOCATION }}/${{ secrets.GOOGLE_PROJECT }}/inner-catalog/catalog-ui:dev-${{ github.run_id }}
Expand Down

0 comments on commit 123643d

Please sign in to comment.