diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 00a88fc..d69fb53 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -5,7 +5,7 @@ on: branches: [ "main" ] env: - REGISTRY: git.nicosaya.com + REGISTRY: git.nicosaya.com/nalalangan/costco-grocery-list jobs: build: @@ -45,14 +45,14 @@ jobs: - name: Build Backend Image run: | docker build \ - -t $REGISTRY/costco-grocery-list-backend:${{ github.sha }} \ - -t $REGISTRY/costco-grocery-list-backend:latest \ + -t $REGISTRY/backend:${{ github.sha }} \ + -t $REGISTRY/backend:latest \ -f backend/Dockerfile backend/ - name: Push Backend Image run: | - docker push $REGISTRY/costco-grocery-list-backend:${{ github.sha }} - docker push $REGISTRY/costco-grocery-list-backend:latest + docker push $REGISTRY/backend:${{ github.sha }} + docker push $REGISTRY/backend:latest # ------------------------- # 🔹 Build Frontend Image @@ -60,14 +60,14 @@ jobs: - name: Build Frontend Image run: | docker build \ - -t $REGISTRY/costco-grocery-list-frontend:${{ github.sha }} \ - -t $REGISTRY/costco-grocery-list-frontend:latest \ + -t $REGISTRY/frontend:${{ github.sha }} \ + -t $REGISTRY/frontend:latest \ -f frontend/Dockerfile frontend/ - name: Push Frontend Image run: | - docker push $REGISTRY/costco-grocery-list-frontend:${{ github.sha }} - docker push $REGISTRY/costco-grocery-list-frontend:latest + docker push $REGISTRY/frontend:${{ github.sha }} + docker push $REGISTRY/frontend:latest deploy: needs: build