Commit a33bc8f
fix(docker): build cozy-stack directly without scripts/build.sh
scripts/build.sh derives the version from git describe / git rev-parse
on the COPY'd working tree, which fails inside the buildx container
(exit 128 with no captured output). Inline `go build` with a build-arg
version string sidesteps the whole bash + git chain.
The workflow passes VERSION_STRING=<tag>-<sha> so the running binary
reports a recognizable version.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 53dd0aa commit a33bc8f
2 files changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
0 commit comments