Skip to content

Commit

Permalink
fix: deployment (#30)
Browse files Browse the repository at this point in the history
* fix: deployment

* fix: force set project
  • Loading branch information
BaptistG authored Nov 10, 2023
1 parent 46ee21e commit a099006
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ do
export SERVICE_ACCOUNT=merkl-dispute-sa@$account.iam.gserviceaccount.com
yq -i '.spec.template.spec.serviceAccountName= strenv(SERVICE_ACCOUNT)' ./cloudrun.yaml

gcloud run services replace ./cloudrun.yaml --platform managed --region europe-west1
gcloud run services replace ./cloudrun.yaml --platform managed --region europe-west1 --project $account
rm ./cloudrun.yaml
done
1 change: 0 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ gcloud auth configure-docker europe-west1-docker.pkg.dev

echo "Pushing to docker registry 1"
docker push europe-west1-docker.pkg.dev/$account/registry/merkl-dispute:$version
docker push europe-west1-docker.pkg.dev/merkl-dispute-2/registry/merkl-dispute:v0.0.2

0 comments on commit a099006

Please sign in to comment.