This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user