Skip to content

Commit

Permalink
Change build context
Browse files Browse the repository at this point in the history
  • Loading branch information
cbolles committed Aug 28, 2023
1 parent 6844af0 commit 0000735
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ jobs:
build:
runs-on: ubuntu-latest
name: Build
defaults:
run:
working-directory: client
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand All @@ -92,7 +89,7 @@ jobs:
shell: bash

- name: Build
run: npm run build:prod
run: npm run build:prod --workspace=client

docker-build:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ jobs:
- name: Build & Push Docker Test Build
uses: docker/build-push-action@v4
with:
context: .
context: ./gateway/
push: ${{ github.event_name != 'pull_request' }}
tags: hicsail/signlab-gateway:unstable

- name: Build & Push Docker Production Build
uses: docker/build-push-action@v4
if: startsWith(github.ref, 'refs/tags/v')
with:
context: .
context: ./gateway/
push: ${{ github.event_name != 'pull_request' }}
tags: hicsail/signlab-gateway:latest,hicsail/signlab-gateway:${{github.ref_name}}

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ jobs:
build:
runs-on: ubuntu-latest
name: Build
defaults:
run:
working-directory: server
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand All @@ -86,7 +83,7 @@ jobs:
shell: bash

- name: Build
run: npm run build:prod
run: npm run build:prod --workspace=server

docker-build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0000735

Please sign in to comment.