Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
chore: revert back to gcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
tale committed Jun 10, 2024
1 parent b91841c commit 26e07a7
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,21 @@ jobs:
- name: Configure Rust and Cargo
uses: dtolnay/rust-toolchain@stable

- name: Setup QEMU
uses: docker/setup-qemu-action@v3

- name: Configure Docker
uses: docker/setup-buildx-action@v2
with:
version: latest
platforms: linux/amd64

- name: Login to iad.ocir.io
- name: Login to gcr.io
uses: docker/login-action@v2
with:
registry: iad.ocir.io
username: ${{ secrets.OCIR_USER }}
password: ${{ secrets.OCIR_TOKEN }}
registry: us-east4-docker.pkg.dev
username: _json_key_base64
password: ${{ secrets.SERVICE_ACCOUNT }}

- name: Load manifest.yaml for API
run: echo "$MANIFEST_BASE64" | base64 -d > manifest.yaml
Expand All @@ -68,12 +71,12 @@ jobs:
env:
BUMP_TYPE: ${{ inputs.bump_type }}

- name: Build iad.ocir.io/idydjmpmhphx/tale/cnstr-api:${{ env.git_version }}
- name: Build us-east4-docker.pkg.dev/aarnavtale/canister/api
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: iad.ocir.io/idydjmpmhphx/tale/cnstr-api:${{ env.git_version }}
tags: us-east4-docker.pkg.dev/aarnavtale/canister/api:${{ env.git_version }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-to,mode=max
platforms: linux/amd64
Expand Down

0 comments on commit 26e07a7

Please sign in to comment.