You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`patroni`. CI publishes them to GHCR with Sigstore-backed GitHub Build
6
-
Provenance; consumers pin by tag (or, better, by digest) and verify
7
-
provenance with `gh attestation verify`.
3
+
The stage-4 example needs four container images deployed in lockstep:
4
+
`mesh-sidecar`, `patroni`, `webdemo`, `signaling`. CI publishes them to
5
+
GHCR with Sigstore-backed GitHub Build Provenance; consumers pin by
6
+
tag (or, better, by digest) and verify provenance with
7
+
`gh attestation verify`.
8
+
9
+
`mesh-sidecar` is the consolidated platform-plumbing image — a single
10
+
container that runs bootstrap-secrets, mesh-conn, consul, and (on
11
+
workers) envoy. It's the heaviest by a wide margin because it
12
+
inherits from envoyproxy/envoy and bundles three more binaries on top.
8
13
9
14
This doc covers the three paths you'll actually use:
10
15
@@ -15,10 +20,14 @@ This doc covers the three paths you'll actually use:
15
20
## 1. CI publish — the steady-state
16
21
17
22
`.github/workflows/consul-postgres-ha-publish.yml` runs on push to `main`
18
-
when any of the six image build contexts (or the workflow itself)
23
+
when any of the four image build contexts (or the workflow itself)
19
24
change, and on PRs touching the same paths. Each run:
20
25
21
-
- Builds all six images via a matrix job.
26
+
- Builds all four images via a matrix job. The `mesh-sidecar` build
27
+
uses `consul-postgres-ha/` as its docker context (instead of
28
+
`consul-postgres-ha/mesh-sidecar/`) so its Dockerfile can pull
29
+
`bootstrap-secrets/` and `mesh-conn/` Go sources from sibling
30
+
directories.
22
31
- On `main`, pushes to `ghcr.io/dstack-tee/dstack-examples/consul-postgres-ha-<name>` with two tags: the long-form commit SHA (`sha-<40-hex>`) and `latest`.
23
32
- Generates a GitHub Build Provenance attestation per image via
24
33
`actions/attest-build-provenance@v2`. The attestation is signed by
@@ -34,12 +43,12 @@ change, and on PRs touching the same paths. Each run:
0 commit comments