diff --git a/.gitea/workflows/cd.yml b/.gitea/workflows/cd.yml index c48ff30..f040081 100644 --- a/.gitea/workflows/cd.yml +++ b/.gitea/workflows/cd.yml @@ -13,8 +13,8 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' }} environment: staging env: - INGESTION_IMAGE: gitea.d-ma.be/mathias/ingestion - ROUTING_IMAGE: gitea.d-ma.be/mathias/routing + INGESTION_IMAGE: git.d-ma.be/mathias/ingestion + ROUTING_IMAGE: git.d-ma.be/mathias/routing INFRA_REPO: git@gitea.d-ma.be:mathias/infra.git BUILDKIT_HOST: unix:///run/buildkit/buildkitd.sock steps: @@ -78,10 +78,10 @@ jobs: cd /tmp/infra-update - sed -i "s|gitea.d-ma.be/mathias/ingestion:.*|gitea.d-ma.be/mathias/ingestion:${IMAGE_TAG}|" \ + sed -i "s|git.d-ma.be/mathias/ingestion:.*|git.d-ma.be/mathias/ingestion:${IMAGE_TAG}|" \ "k3s/apps/supervisor/ingestion-deployment.yaml" - sed -i "s|gitea.d-ma.be/mathias/routing:.*|gitea.d-ma.be/mathias/routing:${IMAGE_TAG}|" \ + sed -i "s|git.d-ma.be/mathias/routing:.*|git.d-ma.be/mathias/routing:${IMAGE_TAG}|" \ "k3s/apps/routing/deployment.yaml" git config user.email "cd-bot@d-ma.be" @@ -103,7 +103,7 @@ jobs: - name: Wait for Flux to apply new ingestion image run: | - EXPECTED="gitea.d-ma.be/mathias/ingestion:${{ github.sha }}" + EXPECTED="git.d-ma.be/mathias/ingestion:${{ github.sha }}" for i in $(seq 1 60); do CURRENT=$(kubectl get deploy ingestion -n supervisor \ -o jsonpath='{.spec.template.spec.containers[0].image}' 2>/dev/null || echo "") @@ -135,7 +135,7 @@ jobs: - name: Wait for Flux to apply new routing image run: | - EXPECTED="gitea.d-ma.be/mathias/routing:${{ github.sha }}" + EXPECTED="git.d-ma.be/mathias/routing:${{ github.sha }}" for i in $(seq 1 60); do CURRENT=$(kubectl get deploy routing -n routing \ -o jsonpath='{.spec.template.spec.containers[0].image}' 2>/dev/null || echo "")