Skip to content

Commit bca732e

Browse files
authored
fix(ci): avoid rebuilding email example image (#1400)
1 parent dface22 commit bca732e

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

examples/sending emails/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This example sends plain-text email with [`sqlpage.send_mail`](https://sql-page.
55
Run the example:
66

77
```sh
8-
docker compose up --build
8+
docker compose -f docker-compose.yml -f docker-compose.local.yml up --build
99
```
1010

1111
This builds SQLPage from the current repository checkout before starting the example.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
services:
2+
web:
3+
build:
4+
context: ../..
5+
args:
6+
CARGO_PROFILE: dev

examples/sending emails/docker-compose.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
services:
22
web:
33
image: lovasoa/sqlpage:main
4-
build:
5-
context: ../..
6-
args:
7-
CARGO_PROFILE: dev
84
ports:
95
- "8080:8080"
106
environment:

0 commit comments

Comments
 (0)