diff --git a/.dockerignore b/.dockerignore index 00f1350..c63e4a2 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,5 +3,4 @@ .vscode node_modules database -http -packages \ No newline at end of file +http \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 267deca..e30cb48 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,9 +13,7 @@ jobs: matrix: projects: - project: frontend - path: app - project: backend - path: api runs-on: ubuntu-latest steps: @@ -34,8 +32,8 @@ jobs: - name: Build and push uses: docker/build-push-action@v6 with: - context: ./${{ matrix.projects.path }} - file: ./${{ matrix.projects.path }}/Dockerfile + context: . + file: ./Dockerfile.${{ matrix.projects.project }} push: true tags: | ${{ secrets.DOCKERHUB_USERNAME }}/auth-system-${{ matrix.projects.project }}:${{ github.ref_name }} diff --git a/api/Dockerfile b/Dockerfile.backend similarity index 100% rename from api/Dockerfile rename to Dockerfile.backend diff --git a/app/Dockerfile b/Dockerfile.frontend similarity index 100% rename from app/Dockerfile rename to Dockerfile.frontend