Skip to content

Commit

Permalink
fix: tried to update docker name
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed Mar 8, 2024
1 parent 2a743d1 commit faa25c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit faa25c1

Please sign in to comment.