diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..430da52 --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +VITE_API_URL=http://localhost:8080/api \ No newline at end of file diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index f249141..fb7466b 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -30,4 +30,22 @@ jobs: run: npm run build - name: Lint code - run: npm run lint:check \ No newline at end of file + run: npm run lint:check + + docker-build: + needs: build-and-lint + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 + + - name: Build Docker image + uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 + with: + context: . + push: false + tags: coapp-frontend \ No newline at end of file