fix(ci): job containers must join gitea_default network to resolve 'gitea' hostname
The checkout action clones from http://gitea:3000/admin/casan5 — hostname 'gitea' only resolves on the docker-compose network (gitea_default), not on the default Docker bridge. Changing container.network: bridge → gitea_default fixes DNS. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
7555e7e800
commit
4386256554
@@ -25,7 +25,7 @@ runner:
|
|||||||
# Default is /workspace — works fine.
|
# Default is /workspace — works fine.
|
||||||
|
|
||||||
container:
|
container:
|
||||||
network: bridge
|
network: gitea_default
|
||||||
|
|
||||||
# --memory 768m: allow harness tests headroom while leaving ~300MB for Gitea/Vault/OS.
|
# --memory 768m: allow harness tests headroom while leaving ~300MB for Gitea/Vault/OS.
|
||||||
# Jobs run sequentially (capacity: 1) so two containers never compete.
|
# Jobs run sequentially (capacity: 1) so two containers never compete.
|
||||||
|
|||||||
Reference in New Issue
Block a user