diff --git a/.gitea/workflows/buildAndDeply.yaml b/.gitea/workflows/buildAndDeply.yaml index 30ed8e5..55dcaca 100644 --- a/.gitea/workflows/buildAndDeply.yaml +++ b/.gitea/workflows/buildAndDeply.yaml @@ -11,6 +11,15 @@ jobs: image: ci-java21-node20:latest steps: + - name: Map gitea into /etc/hosts + if: ${{ always() }} + shell: bash + run: | + set -euxo pipefail + GW="$(ip route | awk '/default/ {print $3}')" + echo "$GW gitea" >> /etc/hosts + getent hosts gitea + - name: Checkout uses: actions/checkout@v4