Compare commits
6 Commits
2-add-nix-
...
main
Author | SHA1 | Date | |
---|---|---|---|
1e02d0f0f5 | |||
ecf748150e | |||
21c8da6eaa | |||
ac5af8d194 | |||
2d0ba8b7e0 | |||
f1b893298e |
@ -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
|
||||
|
@ -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,7 @@ 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
|
||||
|
||||
# Install ImageMagick
|
||||
RUN cd / && \
|
||||
@ -32,4 +34,3 @@ RUN cd / && \
|
||||
rm -rf ImageMagick-7.1.1-38
|
||||
|
||||
ENV LD_LIBRARY_PATH=/usr/local/lib
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user