fix ci
Publish container image / Build and push (push) Successful in 31s

This commit is contained in:
2026-07-25 12:40:02 +02:00
parent fb11e1f181
commit 73243c1191
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -156,11 +156,11 @@ def test_compose_has_no_sandbox_security_exceptions() -> None:
assert forbidden not in compose
def test_gitea_workflow_publishes_master_images() -> None:
def test_gitea_workflow_publishes_main_images() -> None:
lines = (ROOT / ".gitea" / "workflows" / "publish-image.yaml").read_text().splitlines()
push = _section(_section(lines, "on", indent=0), "push", indent=2)
assert _sequence(push, "branches", indent=4) == ["master"]
assert _sequence(push, "branches", indent=4) == ["main"]
assert _mapping(lines, "env", indent=0)["IMAGE_NAME"] == (
"git.krtss.de/stanponomarev/agentci"
)