Document runner host mapping and check Gitea connectivity
Test and publish container images / images (push) Failing after 0s

This commit is contained in:
Anya Tokugawa committed 2026-09-27 17:34:35 +09:00
1 parent 02883e404b
commit c3bea8a3b7
2 files changed
+82 -2

No files matched your search

+12
View File
@@ -24,6 +24,18 @@ jobs:
DOCKER_BUILD_SUMMARY: 'false'
DOCKER_BUILD_RECORD_UPLOAD: 'false'
steps:
- name: Check Gitea HTTPS connectivity before checkout
shell: bash
env:
GITEA_SERVER_URL: ${{ github.server_url }}
run: |
set -euo pipefail
if ! curl --fail --silent --show-error --connect-timeout 5 --max-time 15 \
--output /dev/null "${GITEA_SERVER_URL%/}/api/v1/version"; then
echo 'Gitea HTTPS is unreachable from the job environment. Check runner-host DNS and container.options --add-host=git.anya.jp:172.18.0.10; see docs/operations/gitea-images.md.' >&2
exit 1
fi
- name: Check runner and publication configuration
id: config
shell: bash