Commit bf10ede
committed
fix(release): pin macOS gateway supervisor image tag
The macOS standalone gateway binary was built without
OPENSHELL_IMAGE_TAG, so default_docker_supervisor_image_tag()
fell through to CARGO_PKG_VERSION. The dev release pipeline
patches that to e.g. 0.0.37-dev.147+g084c93b6a, leaving a
'+' in the supervisor image tag which Docker rejects with
'invalid reference format', causing the gateway to crash-loop
on Apple Silicon dev installs.
PR #1259 fixed this for the Linux gateway binary but the macOS
build path (which goes through deploy/docker/Dockerfile.gateway-macos
under osxcross) was not covered.
- release-dev.yml: pass OPENSHELL_IMAGE_TAG=<github.sha> to the
macOS gateway docker build, matching the Linux fix.
- release-tag.yml: pass OPENSHELL_IMAGE_TAG=<source_sha> to the
macOS gateway docker build, matching the Linux fix.
- Dockerfile.gateway-macos: declare ARG OPENSHELL_IMAGE_TAG so
the build arg actually reaches cargo (matches the cli-macos
Dockerfile pattern, including the comment about ARG placement
to avoid invalidating dependency-build cache layers).1 parent 62619ee commit bf10ede
3 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
| 510 | + | |
510 | 511 | | |
511 | 512 | | |
512 | 513 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
| 629 | + | |
629 | 630 | | |
630 | 631 | | |
631 | 632 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
0 commit comments