feat: look up latest caddy version tag when deploying caddy service

This commit is contained in:
Pavel Sviderski
2025-02-16 21:10:06 +10:00
parent 625a8baed3
commit d0e46186ed
5 changed files with 216 additions and 77 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ func TestDeployment(t *testing.T) {
assert.Len(t, svc.Containers, 3)
ctr := svc.Containers[0].Container
assert.Equal(t, "caddy:latest", ctr.Config.Image)
assert.Regexp(t, `^caddy:2\.\d+\.\d+$`, ctr.Config.Image)
ports, err := ctr.ServicePorts()
require.NoError(t, err)