Commit ea7a155
authored
build: have Clever Cloud build the image from source (#55)
Previously `Dockerfile` was a passthrough that pulled a prebuilt image
from GHCR. The point was to dodge OOM kills on Clever's smaller
builders, but it had a deploy-time cost: Clever's docker layer cache
would hold onto the cached `FROM ghcr.io/...:latest` layer across
deploys, so config changes required an empty 'redeploy' commit AND a
cache bust to actually reach prod.
Move the real source build into `Dockerfile` and drop the
passthrough. Each git push now does a full rebar3 release on Clever
itself — slower, but every commit deploys what's in the commit.
The GHCR workflow still runs (now pointed at `Dockerfile`) so the
public image stays available for self-hosters; it's just no longer in
the deploy path.1 parent 0865b40 commit ea7a155
3 files changed
Lines changed: 31 additions & 53 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
This file was deleted.
0 commit comments