From f3bda3749505c36e3c3767fd9726e3cc2bd9538c Mon Sep 17 00:00:00 2001 From: TimofeyTst Date: Sun, 8 Oct 2023 12:12:07 +0300 Subject: [PATCH] dockerfile prod test --- .github/workflows/main.yml | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 863c7d4..6eeb30e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,30 +8,6 @@ on: jobs: build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [20.x] - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - - name: Install dependencies - run: npm install - - - name: Build - run: npm run build - - - docker: - needs: build runs-on: ubuntu-latest steps: - name: Set up QEMU @@ -54,7 +30,8 @@ jobs: uses: docker/build-push-action@v5 with: push: true - tags: timofeytst/eat-place:latest + file: Dockerfile.prod + tags: timofeytst/eat-place:${BRANCH_NAME} deploy: needs: docker