From 400ff6aabd2b6b12a3067031a2358ce62f8fa5f1 Mon Sep 17 00:00:00 2001 From: Philip Forsberg Date: Thu, 14 Nov 2024 13:47:14 +0100 Subject: [PATCH] fix: change master to main --- .github/workflows/main.yml | 2 +- docker-compose.prod-run.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a2c3ed09..64ff649a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -120,7 +120,7 @@ jobs: docker-compose down docker system prune -af source ~/.bash_profile - DIAMONDS_DOCKER_TAG=master-${{ github.sha }} docker-compose -f docker-compose.prod-run.yml up -d + DIAMONDS_DOCKER_TAG=main-${{ github.sha }} docker-compose -f docker-compose.prod-run.yml up -d - name: Update autoscaler uses: appleboy/ssh-action@master with: diff --git a/docker-compose.prod-run.yml b/docker-compose.prod-run.yml index ac811425..d36164e4 100644 --- a/docker-compose.prod-run.yml +++ b/docker-compose.prod-run.yml @@ -2,7 +2,7 @@ version: "3.7" services: frontend: - image: etimodanielwinther/diamonds2_frontend:main-${DIAMONDS_DOCKER_TAG} + image: etimodanielwinther/diamonds2_frontend:${DIAMONDS_DOCKER_TAG} restart: always environment: - VITE_API_BASE_URL=http://backend:3000/api @@ -25,7 +25,7 @@ services: - ./data/certbot/www:/var/www/certbot backend: - image: etimodanielwinther/diamonds2_backend:main-${DIAMONDS_DOCKER_TAG} + image: etimodanielwinther/diamonds2_backend:${DIAMONDS_DOCKER_TAG} restart: always environment: - DATABASE_URL