diff --git a/package.json b/package.json --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "arcpatch": "git pull --all --tags && arc patch", "postinstall": "bash ./postinstall.sh", "flow:all": "yarn workspace lib flow && yarn workspace web flow && yarn workspace landing flow && yarn workspace native flow && yarn workspace keyserver flow && yarn workspace desktop flow && yarn workspace electron-update-server flow", - "jest:all": "yarn workspace lib test && yarn workspace keyserver test && yarn workspace web test && yarn workspace native test" + "jest:all": "yarn workspace lib test && yarn workspace keyserver test && yarn workspace web test && yarn workspace native test", + "docker-build-push:identity": "./scripts/docker-build-push-identity.sh" }, "devDependencies": { "@babel/eslint-parser": "^7.23.3", diff --git a/scripts/docker-build-push-identity.sh b/scripts/docker-build-push-identity.sh new file mode 100755 --- /dev/null +++ b/scripts/docker-build-push-identity.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +TAG=$1 + +docker build --platform linux/amd64 -f services/identity/Dockerfile -t commapp/identity-server:"$TAG" . && docker push commapp/identity-server:"$TAG" diff --git a/services/terraform/remote/service_identity.tf b/services/terraform/remote/service_identity.tf --- a/services/terraform/remote/service_identity.tf +++ b/services/terraform/remote/service_identity.tf @@ -1,5 +1,5 @@ locals { - identity_service_image_tag = local.is_staging ? "farcaster" : "0.12" + identity_service_image_tag = local.is_staging ? "0.13-staging" : "0.13" identity_service_server_image = "commapp/identity-server:${local.identity_service_image_tag}" identity_service_container_name = "identity-server"