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

Commit

Permalink
migrate docker images from GCR to default GAR
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Valson <pranay.valson@gmail.com>
  • Loading branch information
noslav committed Mar 21, 2024
1 parent 42fcd33 commit f6c133c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: docker-ci
on:
push:
branches:
- "main"
- "main"
pull_request:
branches:
- "main"
- "develop"
branches:
- "main"
- "develop"

jobs:
build:
Expand All @@ -16,12 +16,12 @@ jobs:
- name: Login to GCR
uses: docker/login-action@v2
with:
registry: gcr.io
registry: us-docker.pkg.dev
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}

- uses: actions/checkout@v2
- name: Build & Publish the Docker image
run: |
docker build . --file Dockerfile --tag gcr.io/covalent-project/bsp-finalizer:latest
docker push gcr.io/covalent-project/bsp-finalizer:latest;
docker build . --file Dockerfile --tag us-docker.pkg.dev/covalent-project/network/bsp-finalizer:latest
docker push us-docker.pkg.dev/covalent-project/network/bsp-finalizer:latest;
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ In order to run access to the covalent db is required. Please ask the code owner
Pull the images and run (arm64) -

```bash
docker pull gcr.io/covalent-project/bsp-finalizer:latest
docker run --env-file .env gcr.io/covalent-project/bsp-finalizer:latest
docker pull us-docker.pkg.dev/covalent-project/network/bsp-finalizer:latest
docker run --env-file .env us-docker.pkg.dev/covalent-project/network/bsp-finalizer:latest
```

1. Pull the images and run (amd64) -

```bash
docker pull gcr.io/covalent-project/bsp-finalizer:latest
docker run --env-file .env gcr.io/covalent-project/bsp-finalizer:latest
docker pull us-docker.pkg.dev/covalent-project/network/bsp-finalizer:latest
docker run --env-file .env us-docker.pkg.dev/covalent-project/network/bsp-finalizer:latest
```

1. If the run is successful you should see logs such as below.
Expand Down

0 comments on commit f6c133c

Please sign in to comment.