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:
|
||||
- dockerfile: Dockerfile
|
||||
image: mywebsite-public
|
||||
context: .
|
||||
context: ./backend/public
|
||||
- dockerfile: Dockerfile
|
||||
image: mywebsite-task
|
||||
context: .
|
||||
context: ./backend/task
|
||||
- dockerfile: Dockerfile
|
||||
image: mywebsite-frontend
|
||||
context: .
|
||||
context: ./frontend
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
@@ -2,8 +2,8 @@ FROM rust:1.88.0
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./backend/public ./public
|
||||
COPY ./backend/cache ./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 ./backend/task ./task
|
||||
COPY ./backend/cache ./cache
|
||||
COPY ./backend/storage ./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