Skip to content

Commit

Permalink
chore: remove gcr from build-push-image (#173)
Browse files Browse the repository at this point in the history
* chore: remove gcr from build-push-image

* chore: update changeset
  • Loading branch information
dmaklygin authored May 25, 2023
1 parent c2ca829 commit 7ff6c6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/wet-brooms-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'davinci-github-actions': major
---

- build-push-image: avoid pushing images to Google Cloud Registy
8 changes: 0 additions & 8 deletions build-push-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,12 @@ runs:
uses: docker/[email protected]
with:
images: |
gcr.io/toptal-hub/${{ inputs.image-name }}
us-central1-docker.pkg.dev/toptal-hub/containers/${{ inputs.image-name }}
tags: |
type=raw,enable=true,priority=200,prefix=,suffix=,value=${{ inputs.sha }}
flavor: |
latest=${{ steps.meta-latest.outputs.latest }}
- name: Login to Google Container Registry - GCR
uses: docker/login-action@v2
with:
registry: gcr.io
username: _json_key
password: ${{ env.GCR_ACCOUNT_KEY }}

- name: Login to Google Artifact Registry - GAR
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 7ff6c6c

Please sign in to comment.