From 2cf28ee7cc02d1bf10bf08cd5b9ccc2e272d8545 Mon Sep 17 00:00:00 2001 From: Guillaume Langlois Date: Mon, 2 Feb 2026 20:13:07 -0500 Subject: [PATCH] Add connectivity test before logging into the Docker registry --- .gitea/workflows/create-image.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/create-image.yaml b/.gitea/workflows/create-image.yaml index ddda0ab..6437f3e 100644 --- a/.gitea/workflows/create-image.yaml +++ b/.gitea/workflows/create-image.yaml @@ -51,7 +51,12 @@ jobs: - uses: actions/checkout@v4 - - name: Login to Gitea Docker Registry + - name: Test connectivity + run: | + echo "Testing connection to registry..." + time curl -v https://${{ env.DOCKER_REGISTRY_DOMAIN }}/v2/ || true + + - name: Login to the Container registry uses: docker/login-action@v3 with: registry: ${{ env.DOCKER_REGISTRY_DOMAIN }}