merge queue: merged #94: feat: allow a local production image without GHCR
Draft
ME
3h ago
+42+42+01234567890123456789-5-5-0123456789
[!NOTE] This is a merge queue draft opened by Mergify. Its pull request has merged, and nobody needs to act on it.
Mergify opened it for batch petite-persillade-w89wpt of the default queue, to test #94 before it merged into main.
🎉 What landed
Mergify merged its pull request into main, then closed this draft:
#94 feat: allow a local production image without GHCR (ashcoft), as 9b3fad4
### Issue 1
readme.md:299
The backup command parses `.env` differently from Compose. For example, `POL_VERSION="1.4.0"` works in Compose, but this command keeps the quote characters, so `docker save` receives an invalid image name. It also overwrites any exported `POL_VERSION`, which can select a different image from the one Compose uses.
Ask Compose for the resolved application image instead. Apply the same fix to the repeated backup command in Operations.
### Issue 2
readme.md:300-301
If `docker save` fails because the image is missing or Docker is unavailable, `gzip` can still accept the empty input, write an empty compressed archive, and report success. The command can also overwrite an earlier usable backup.
Enable `pipefail` and replace the backup only after the whole pipeline succeeds. Fix the repeated Operations example too.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Summary
The PR lets production use a locally built or restored application image.
Production can run a local image under the shared version tag.