Skip to content

Commit

Permalink
feat: migrate to gar
Browse files Browse the repository at this point in the history
  • Loading branch information
otani88 committed Mar 13, 2023
1 parent 227e46c commit ae986f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.goerli-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
name: update-images
run: |
ci_run docker login -u ${{ secrets.DOCKERHUB_USER }} -p ${{ secrets.DOCKERHUB_TOKEN }}
ci_run gcloud auth configure-docker us-docker.pkg.dev -q
ci_run zk docker push rust
-
name: docker-down
Expand Down
4 changes: 4 additions & 0 deletions infrastructure/zk/src/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ async function _push(image: string) {
if (['nginx', 'server', 'prover', 'event-listener'].includes(image)) {
const { stdout: imageTag } = await utils.exec('git rev-parse --short HEAD');
await utils.spawn(`docker push matterlabs/${image}:${imageTag}`);
await utils.spawn(
`docker tag matterlabs/${image}:${imageTag} us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/${image}:${imageTag}`
);
await utils.spawn(`docker push us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/${image}:${imageTag}`);
}
}

Expand Down

0 comments on commit ae986f5

Please sign in to comment.