diff --git a/.github/workflows/cd-to-dev.yml b/.github/workflows/cd-to-dev.yml index 6eaeada1..7364c129 100644 --- a/.github/workflows/cd-to-dev.yml +++ b/.github/workflows/cd-to-dev.yml @@ -21,10 +21,8 @@ on: env: SPRING_PROFILES_ACTIVE: dev - ECR_APP_NAME: ${{ secrets.ECR_APP_NAME }}-${{ env.SPRING_PROFILES_ACTIVE }} - ECR_REPO: ${{ secrets.ECR_HOST }}/${{ env.ECR_APP_NAME }} - GREEN_SERVER_IMAGE: ${{ env.ECR_REPO }} - BLUE_SERVER_IMAGE: ${{ env.ECR_REPO }} + ECR_APP_NAME: ${{ secrets.ECR_APP_NAME }}-dev + ECR_REPO: ${{ secrets.ECR_HOST }}/${{ secrets.ECR_APP_NAME }}-dev jobs: build: diff --git a/docker-compose.yml b/docker-compose.yml index 5e2b5c3a..9ad306c7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: playground: container_name: ${ECR_APP_NAME} - image: ${BLUE_SERVER_IMAGE} + image: ${ECR_REPO} expose: - 8080 ports: