fix: reuse local imgproxy image during release

This commit is contained in:
john
2026-07-15 11:39:02 +08:00
parent e2d850c2e9
commit dd0014db83
2 changed files with 8 additions and 1 deletions
@@ -11,6 +11,11 @@ test('imgproxy runtime pins an arm64 image digest', () => {
assert.match(dockerfile, /FROM darthsim\/imgproxy@sha256:[a-f0-9]{64}/);
});
test('builder reuses an already verified digest without a network pull', () => {
const builder = read('scripts/build-imgproxy-runtime-image.sh');
assert.match(builder, /docker image inspect "\$IMAGE_REF"/);
});
test('installer uses a read-only storage mount and both required ports', () => {
const installer = read('scripts/install-imgproxy-runtime-prod.sh');
assert.match(installer, /-p 127\.0\.0\.1:20082:8080/);