third pass of ci
This commit is contained in:
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@@ -23,13 +23,13 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- dockerfile: Dockerfile
|
- dockerfile: Dockerfile
|
||||||
image: mywebsite-public
|
image: mywebsite-public
|
||||||
context: .
|
context: ./backend/public
|
||||||
- dockerfile: Dockerfile
|
- dockerfile: Dockerfile
|
||||||
image: mywebsite-task
|
image: mywebsite-task
|
||||||
context: .
|
context: ./backend/task
|
||||||
- dockerfile: Dockerfile
|
- dockerfile: Dockerfile
|
||||||
image: mywebsite-frontend
|
image: mywebsite-frontend
|
||||||
context: .
|
context: ./frontend
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@@ -2,8 +2,8 @@ FROM rust:1.88.0
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ./backend/public ./public
|
COPY ./public ./public
|
||||||
COPY ./backend/cache ./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 ./backend/task ./task
|
COPY ./task ./task
|
||||||
COPY ./backend/cache ./cache
|
COPY ../cache ./cache
|
||||||
COPY ./backend/storage ./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