Compare commits

...

7 Commits

Author SHA1 Message Date
92e1896fda Add mdbook
All checks were successful
Push Workflows / docker-build (push) Successful in 7m13s
2025-05-28 01:57:56 +00:00
1e02d0f0f5 Set LEPTOS_TAILWIND_VERSION to upgrade to v4
All checks were successful
Push Workflows / docker-build (push) Successful in 4m40s
2025-02-17 23:05:23 -05:00
ecf748150e Add --locked to cargo-leptos install command
All checks were successful
Push Workflows / docker-build (push) Successful in 15m4s
2025-02-02 15:47:16 -05:00
21c8da6eaa Update cargo-leptos to 0.2.26
Some checks failed
Push Workflows / docker-build (push) Failing after 7m25s
2025-02-02 15:35:24 -05:00
ac5af8d194 Switch runs-on to use docker-capable image
All checks were successful
Push Workflows / docker-build (push) Successful in 14m26s
2024-12-28 16:27:11 -05:00
2d0ba8b7e0 Merge pull request 'Add cargo-leptos version to tag' (#5) from 4-add-cargoleptos-version-to-tag into main
Some checks failed
Push Workflows / docker-build (push) Failing after 13s
Reviewed-on: #5
2024-12-28 21:22:42 +00:00
f1b893298e Tag image with cargo-leptos version on main
Some checks failed
Push Workflows / docker-build (push) Failing after 13s
2024-12-28 16:21:51 -05:00
2 changed files with 6 additions and 4 deletions

View File

@ -3,7 +3,7 @@ on: push
jobs:
docker-build:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-docker
steps:
- name: Checkout repository
uses: actions/checkout@v4
@ -31,6 +31,6 @@ jobs:
if: gitea.ref == 'refs/heads/main'
with:
push: true
tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest"
tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest,${{ steps.get-image-name.outputs.IMAGE_NAME }}:cargo-leptos-0-2-22"
cache-from: type=registry,ref=${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest
cache-to: type=inline

View File

@ -1,5 +1,7 @@
FROM gitea/runner-images:ubuntu-latest
ENV LEPTOS_TAILWIND_VERSION=v4.0.6
WORKDIR /app
# Install a few dependencies
@ -18,7 +20,8 @@ ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup default nightly
RUN rustup target add wasm32-unknown-unknown
RUN cargo install cargo-leptos@0.2.22
RUN cargo install cargo-leptos@0.2.26 --locked
RUN cargo install mdbook
# Install ImageMagick
RUN cd / && \
@ -32,4 +35,3 @@ RUN cd / && \
rm -rf ImageMagick-7.1.1-38
ENV LD_LIBRARY_PATH=/usr/local/lib