Skip to content

Commit

Permalink
Update Groot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Aug 22, 2022
1 parent 7ff20b2 commit a28b948
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 7,902 deletions.
15 changes: 15 additions & 0 deletions .deploy/groot.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:16.9.1

WORKDIR /app

RUN yarn global add pnpm

COPY ./apps/groot/edgelabs*.tgz ./

RUN tar zxvf ./edgelabs-groot-*.tgz

WORKDIR /app/package

RUN pnpm install

CMD ["pnpm", "start"]
9 changes: 8 additions & 1 deletion .github/workflows/groot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,21 @@ jobs:

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm turbo run build --filter @edgelabs/groot

- name: Build
run: |
cd apps/groot
pnpm pack
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
context: apps/groot
file: .deploy/groot.dockerfile
context: .
1 change: 0 additions & 1 deletion apps/groot/.dockerignore

This file was deleted.

Loading

0 comments on commit a28b948

Please sign in to comment.