From faa25c1e5337de0b710fc7634998c96dbb0c95c2 Mon Sep 17 00:00:00 2001 From: Dario Date: Fri, 8 Mar 2024 23:42:31 +0100 Subject: [PATCH] fix: tried to update docker name --- .github/workflows/release.yml | 4 +++- docker-compose.yml | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 197ef88b..3fd50a0b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,6 @@ jobs: workdir: api buildargs: API_URI docker-push-webapp: - name: Push webapp Docker Image to GitHub Packages runs-on: ubuntu-latest permissions: contents: read @@ -110,4 +109,7 @@ jobs: echo "DATABASE_PASSWORD=${{ secrets.DATABASE_PASSWORD }}" >> .env echo "JWT_SECRET=${{ secrets.JWT_SECRET }}" >> .env sudo docker compose down + sudo docker compose pull sudo docker compose --profile prod up -d + cd ../ + rm -r wiq_en2b --force diff --git a/docker-compose.yml b/docker-compose.yml index 7843efc5..7bf758fe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,14 +31,12 @@ services: webapp: container_name: webapp-${teamname:-defaultASW} - image: ghcr.io/arquisoft/wiq_en2b/webapp:latest + image: webapp:latest profiles: [ "dev", "prod" ] build: context: ./webapp args: API_URI: http://${API_URI}:8080 - networks: - - mynetwork ports: - "3000:3000"