Skip to content

Commit

Permalink
dockerfile prod test
Browse files Browse the repository at this point in the history
  • Loading branch information
TimofeyTst committed Oct 8, 2023
1 parent 43ac2ce commit f3bda37
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f3bda37

Please sign in to comment.