Skip to content

Commit

Permalink
test the building of an image
Browse files Browse the repository at this point in the history
  • Loading branch information
iainsproat committed Aug 19, 2024
1 parent 1fcdb60 commit 7840ede
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:

jobs:
test-frontend:
test-frontend-2:
name: Test Frontend 2
runs-on: ubuntu-latest

Expand All @@ -26,3 +26,21 @@ jobs:
- name: yarn lint:ci
run: yarn lint:ci
working-directory: 'packages/frontend-2'

build-frontend-2:
name: Build Frontend 2
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
# context should remain as the git context
file: packages/frontend-2/Dockerfile
load: true
push: false
outputs: type=docker,dest=/tmp/speckle-frontend-2.tar

0 comments on commit 7840ede

Please sign in to comment.