Skip to content

Commit

Permalink
feat: publish workshop template
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Oct 27, 2024
1 parent 3bb1c5e commit 11b653f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: react-example
target: scratch_react_example
out: react-example.tar.gz
- name: react-workshop
target: scratch_react_workshop
out: react-workshop.tar.gz
- name: vue-starter
target: scratch_vue_starter
out: vue-starter.tar.gz
Expand Down Expand Up @@ -113,6 +116,12 @@ jobs:
name: react-example.tar.gz
path: .

- name: Download react-workshop
uses: actions/download-artifact@v4
with:
name: react-workshop.tar.gz
path: .

- name: Download vue-starter
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -165,6 +174,7 @@ jobs:
./nextjs-example.tar.gz
./react-starter.tar.gz
./react-example.tar.gz
./react-workshop.tar.gz
./vue-starter.tar.gz
./vue-example.tar.gz
./angular-starter.tar.gz
Expand Down Expand Up @@ -210,6 +220,12 @@ jobs:
name: react-example.tar.gz
path: out/templates

- name: Download react-workshop
uses: actions/download-artifact@v4
with:
name: react-workshop.tar.gz
path: out/templates

- name: Download vue-starter
uses: actions/download-artifact@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ RUN ./docker/compress react-starter
FROM deps as build_react_example
RUN ./docker/compress react-example

FROM deps as build_react_workshop
RUN ./docker/compress react-workshop

FROM deps as build_vue_starter
RUN ./docker/compress vue-starter

Expand Down Expand Up @@ -67,6 +70,9 @@ COPY --from=build_react_starter ./prepare/target/react-starter.tar.gz /
FROM scratch AS scratch_react_example
COPY --from=build_react_example ./prepare/target/react-example.tar.gz /

FROM scratch AS scratch_react_workshop
COPY --from=build_react_workshop ./prepare/target/react-workshop.tar.gz /

FROM scratch AS scratch_vue_starter
COPY --from=build_vue_starter ./prepare/target/vue-starter.tar.gz /

Expand Down

0 comments on commit 11b653f

Please sign in to comment.