fifth pass at ci
This commit is contained in:
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@@ -21,12 +21,12 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- dockerfile: Dockerfile
|
- dockerfile: public/Dockerfile
|
||||||
image: mywebsite-public
|
image: mywebsite-public
|
||||||
context: ./backend/public
|
context: ./backend
|
||||||
- dockerfile: Dockerfile
|
- dockerfile: task/Dockerfile
|
||||||
image: mywebsite-task
|
image: mywebsite-task
|
||||||
context: ./backend/task
|
context: ./backend
|
||||||
- dockerfile: Dockerfile
|
- dockerfile: Dockerfile
|
||||||
image: mywebsite-frontend
|
image: mywebsite-frontend
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
|
@@ -2,8 +2,8 @@ FROM rust:1.88.0
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ./public /app/public
|
COPY ./public ./public
|
||||||
COPY ../cache /app/cache
|
COPY ./cache ./cache
|
||||||
|
|
||||||
RUN cargo build --release --manifest-path ./public/Cargo.toml
|
RUN cargo build --release --manifest-path ./public/Cargo.toml
|
||||||
|
|
||||||
|
@@ -2,9 +2,9 @@ FROM rust:1.88.0
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ./task /app/task
|
COPY ./task ./task
|
||||||
COPY ../cache /app/cache
|
COPY ./cache ./cache
|
||||||
COPY ../storage /app/storage
|
COPY ./storage ./storage
|
||||||
|
|
||||||
RUN mkdir /app/posts
|
RUN mkdir /app/posts
|
||||||
RUN cargo build --release --manifest-path ./task/Cargo.toml
|
RUN cargo build --release --manifest-path ./task/Cargo.toml
|
||||||
|
Reference in New Issue
Block a user