From 9552b5d78a0a6664f5b8f616492127d44a6d8bf5 Mon Sep 17 00:00:00 2001 From: Archit404Error <4architmehta@gmail.com> Date: Thu, 17 Aug 2023 00:03:46 -0400 Subject: [PATCH] Update docker repo names --- .github/workflows/deploy.yml | 4 ++-- .gitignore | 3 ++- Makefile | 2 ++ docker-compose.yml | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 Makefile diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6f2ab97..b8551f0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,11 +27,11 @@ jobs: # Build the Docker image - name: Build run: |- - docker build --tag "cuappdev/big-red-bot:${{ steps.vars.outputs.sha_short }}" . + docker build --tag "cornellappdev/big-red-bot:${{ steps.vars.outputs.sha_short }}" . # Push the Docker image to Google Container Registry - name: Publish run: |- - docker push "cuappdev/big-red-bot:${{ steps.vars.outputs.sha_short }}" + docker push "cornellappdev/big-red-bot:${{ steps.vars.outputs.sha_short }}" - name: SSH & Deploy uses: appleboy/ssh-action@master with: diff --git a/.gitignore b/.gitignore index e507c1d..1da5181 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ .env node_modules/ *.log -service_account.json \ No newline at end of file +service_account.json +secrets/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bb65872 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +ssh: + ssh -i secrets/slack_admin.pem root@137.184.132.210 diff --git a/docker-compose.yml b/docker-compose.yml index b84fd0d..619cd95 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ services: web: - image: cuappdev/big-red-bot:${SLACK_BOT_IMG_TAG} + image: cornellappdev/big-red-bot:${SLACK_BOT_IMG_TAG} env_file: .env ports: - "3000:3000" - - "8000:8000" \ No newline at end of file + - "8000:8000"