From 99aa22fe167712cf2e3c2bc800f1716f3198ab8f Mon Sep 17 00:00:00 2001 From: Oluwatosin Akande Date: Tue, 6 Feb 2024 20:26:20 +0100 Subject: [PATCH] chore: change cicd setup --- .github/workflows/ci.yaml | 2 +- docker-compose.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bec605f..7b68767 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -48,7 +48,7 @@ jobs: # context: . file: ./Dockerfile push: true - tags: ${{ secrets.DOCKER_USERNAME }}/boot-back:${{ github.sha }}, ${{ secrets.DOCKER_USERNAME }}/boot-back:latest + tags: ${{ secrets.DOCKER_USERNAME }}/task-manager:${{ github.sha }}, ${{ secrets.DOCKER_USERNAME }}/task-manager:latest platforms: linux/arm64 - name: SSH into EC2 Instance and Deploy diff --git a/docker-compose.yml b/docker-compose.yml index ae71b43..33f589b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,4 +7,5 @@ services: - "9090:9090" environment: - PORT=${PORT} - - JWT_SECRET_KEY=${JWT_SECRET_KEY} \ No newline at end of file + - JWT_SECRET_KEY=${JWT_SECRET_KEY} + - DOCKER_ENV=true \ No newline at end of file