Compare commits

..

No commits in common. "main" and "2-add-nix-cicd-image" have entirely different histories.

2 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,7 @@ on: push
jobs:
docker-build:
runs-on: ubuntu-latest-docker
runs-on: ubuntu-latest
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,${{ steps.get-image-name.outputs.IMAGE_NAME }}:cargo-leptos-0-2-22"
tags: "${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest"
cache-from: type=registry,ref=${{ steps.get-image-name.outputs.IMAGE_NAME }}:latest
cache-to: type=inline

View File

@ -1,7 +1,5 @@
FROM gitea/runner-images:ubuntu-latest
ENV LEPTOS_TAILWIND_VERSION=v4.0.6
WORKDIR /app
# Install a few dependencies
@ -20,7 +18,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.26 --locked
RUN cargo install cargo-leptos@0.2.22
# Install ImageMagick
RUN cd / && \
@ -34,3 +32,4 @@ RUN cd / && \
rm -rf ImageMagick-7.1.1-38
ENV LD_LIBRARY_PATH=/usr/local/lib