Skip to content

Commit

Permalink
feat: add public Google registry
Browse files Browse the repository at this point in the history
  • Loading branch information
mo4islona committed Jun 19, 2024
1 parent 316df22 commit 083afbd
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

# Setup gcloud CLI
- uses: google-github-actions/[email protected]
with:
project_id: subsquid-public
service_account_key: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}

# Configure Docker to use the gcloud command-line tool as a credential
# helper for authentication
- run: |-
gcloud --quiet auth configure-docker
- name: Docker login
uses: docker/login-action@v3
with:
Expand All @@ -39,8 +50,9 @@ jobs:
with:
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386
push: true
tags: |
tags: |
subsquid/p2p-worker:${{ env.WORKER_VERSION }}
subsquid/p2p-worker:${{ inputs.tag }}
eu.gcr.io/subsquid-public/p2p-worker:${{ inputs.tag }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 083afbd

Please sign in to comment.