From 0c4ce6e1686cb52aed281103d387478f62a66db1 Mon Sep 17 00:00:00 2001 From: Michael Ruocco Date: Mon, 13 May 2024 20:09:07 +0100 Subject: [PATCH] chore(release): updates to publish docker image under my own organisation --- README.md | 12 ++++++------ package.json | 2 +- scripts/dockerBuildPush.sh | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 127f06ce..e553ebef 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Cognito Local -![CI](https://github.com/jagregory/cognito-local/workflows/CI/badge.svg) +![CI](https://github.com/michaelruocco/cognito-local/workflows/CI/badge.svg) A _Good Enough_ offline emulator for [Amazon Cognito](https://aws.amazon.com/cognito/). @@ -220,13 +220,13 @@ cognito-local how to connect to your local Lambda server: ### via Docker - docker run --publish 9229:9229 jagregory/cognito-local:latest + docker run --publish 9229:9229 michaelruocco/cognito-local:latest Cognito Local will now be listening on `http://localhost:9229`. To persist your database between runs, mount the `/app/.cognito` volume to your host machine: - docker run --publish 9229:9229 --volume $(pwd)/.cognito:/app/.cognito jagregory/cognito-local:latest + docker run --publish 9229:9229 --volume $(pwd)/.cognito:/app/.cognito michaelruocco/cognito-local:latest ### via Node @@ -252,12 +252,12 @@ environment variable: If you're running in Docker, you can also rebind the [published ports](https://docs.docker.com/config/containers/container-networking/#published-ports) when you run: -`docker run -p4000:9229 jagregory/cognito-local` +`docker run -p4000:9229 michaelruocco/cognito-local` Or combine the two approaches by [setting an environment variable](https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file) when you run: -`docker run -p4000:4000 -e PORT=4000 jagregory/cognito-local` +`docker run -p4000:4000 -e PORT=4000 michaelruocco/cognito-local` The same can be done in docker-compose with [environment variables](https://docs.docker.com/compose/environment-variables/#set-environment-variables-in-containers) and [port binding](https://docs.docker.com/compose/networking/) in compose. @@ -482,7 +482,7 @@ For example: If a Custom Message lambda is configured, the output of the function invocation will be printed in the console too (verbosely!). -By default, confirmation codes are randomly generated. If set, the value assigned to the `CODE` environment variable will always be returned instead. +By default, confirmation codes are randomly generated. If set, the value assigned to the `CODE` environment variable will always be returned instead. ## Advanced diff --git a/package.json b/package.json index 84971e41..0bd78a44 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/jagregory/cognito-local.git" + "url": "https://github.com/michaelruocco/cognito-local.git" }, "release": { "branches": [ diff --git a/scripts/dockerBuildPush.sh b/scripts/dockerBuildPush.sh index d406aceb..3148576d 100755 --- a/scripts/dockerBuildPush.sh +++ b/scripts/dockerBuildPush.sh @@ -12,10 +12,10 @@ major_version=${versionArr[0]} docker buildx build \ --platform linux/amd64,linux/arm64 \ - --tag jagregory/cognito-local:latest \ - --tag jagregory/cognito-local:${major_version}-latest \ - --tag jagregory/cognito-local:${version} \ + --tag michaelruocco/cognito-local:latest \ + --tag michaelruocco/cognito-local:${major_version}-latest \ + --tag michaelruocco/cognito-local:${version} \ --push \ . -echo "{\"name\":\"Docker\",\"url\":\"https://hub.docker.com/r/jagregory/cognito-local\"}" \ No newline at end of file +echo "{\"name\":\"Docker\",\"url\":\"https://hub.docker.com/r/michaelruocco/cognito-local\"}" \ No newline at end of file