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:
|
||||
matrix:
|
||||
include:
|
||||
- dockerfile: Dockerfile
|
||||
- dockerfile: public/Dockerfile
|
||||
image: mywebsite-public
|
||||
context: ./backend/public
|
||||
- dockerfile: Dockerfile
|
||||
context: ./backend
|
||||
- dockerfile: task/Dockerfile
|
||||
image: mywebsite-task
|
||||
context: ./backend/task
|
||||
context: ./backend
|
||||
- dockerfile: Dockerfile
|
||||
image: mywebsite-frontend
|
||||
context: ./frontend
|
||||
|
@@ -2,8 +2,8 @@ FROM rust:1.88.0
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./public /app/public
|
||||
COPY ../cache /app/cache
|
||||
COPY ./public ./public
|
||||
COPY ./cache ./cache
|
||||
|
||||
RUN cargo build --release --manifest-path ./public/Cargo.toml
|
||||
|
||||
|
@@ -2,9 +2,9 @@ FROM rust:1.88.0
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./task /app/task
|
||||
COPY ../cache /app/cache
|
||||
COPY ../storage /app/storage
|
||||
COPY ./task ./task
|
||||
COPY ./cache ./cache
|
||||
COPY ./storage ./storage
|
||||
|
||||
RUN mkdir /app/posts
|
||||
RUN cargo build --release --manifest-path ./task/Cargo.toml
|
||||
|
Reference in New Issue
Block a user