File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,24 @@ jobs:
1717 packages : write
1818 steps :
1919 - uses : actions/checkout@v4
20+
2021 - uses : docker/metadata-action@v5
2122 id : meta
2223 with :
2324 images : |
2425 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/playground
26+
2527 - uses : docker/login-action@v3
2628 with :
2729 registry : ${{ env.REGISTRY }}
2830 username : ${{ github.actor }}
2931 password : ${{ secrets.GITHUB_TOKEN }}
32+
3033 - name : Build package/playground
3134 uses : docker/build-push-action@v5
3235 with :
3336 context : .
34- file : ./packages/playground/Dockerfile
3537 push : true
38+ target : playground
3639 tags : ${{ steps.meta.outputs.tags }}
3740 labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 3131
3232 - name : Build
3333 run : pnpm build
34+ docker :
35+ runs-on : ubuntu-latest
36+ steps :
37+ - name : Checkout
38+ uses : actions/checkout@v4
39+
40+ - name : Install
41+ uses : ./.github/actions/install
42+
43+ - name : Build package/playground
44+ uses : docker/build-push-action@v5
45+ with :
46+ context : .
47+ target : playground
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ COPY . /usr/src/app
1111WORKDIR /usr/src/app
1212RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
1313RUN pnpm build
14- RUN pnpm deploy --filter=playground --prod /prod/playground
15- RUN ls -al /prod/playground
14+ RUN pnpm deploy --filter=monorepo-typescript-playground --prod /prod/playground
1615
1716FROM nginx:stable AS playground
1817
You can’t perform that action at this time.
0 commit comments