Update .gitea/workflows/server-run.yaml
Some checks failed
Build, Publish Docker Image, and Deploy to Kubernetes / build_and_push (push) Successful in 2m19s
Build, Publish Docker Image, and Deploy to Kubernetes / deploy_to_k8s (push) Failing after 11s

This commit is contained in:
jonas 2025-10-27 09:30:26 +00:00
parent 89014da485
commit f03d0daa44

View File

@ -29,17 +29,17 @@ jobs:
- name: Log in to Docker registry - name: Log in to Docker registry
if: env.exists == 'true' if: env.exists == 'true'
run: | run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login git.ionas999.at -u ${{ secrets.REGISTRY_USERNAME }} --password-stdin echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login git.hinterdorfer.dev -u ${{ secrets.REGISTRY_USERNAME }} --password-stdin
- name: Build Docker image - name: Build Docker image
if: env.exists == 'true' if: env.exists == 'true'
run: | run: |
docker build -t git.ionas999.at/${{ env.IMAGE_NAME }}:latest . docker build -t git.hinterdorfer.dev/${{ env.IMAGE_NAME }}:latest .
- name: Push Docker image - name: Push Docker image
if: env.exists == 'true' if: env.exists == 'true'
run: | run: |
docker push git.ionas999.at/${{ env.IMAGE_NAME }}:latest docker push git.hinterdorfer.dev/${{ env.IMAGE_NAME }}:latest
deploy_to_k8s: deploy_to_k8s:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -120,7 +120,7 @@ jobs:
spec: spec:
containers: containers:
- name: ${REPO_NAME} - name: ${REPO_NAME}
image: git.ionas999.at/${FULL_REPO}:latest image: git.hinterdorfer.dev/${FULL_REPO}:latest
ports: ports:
- containerPort: 80 - containerPort: 80
--- ---
@ -150,9 +150,9 @@ jobs:
ingressClassName: traefik ingressClassName: traefik
tls: tls:
- hosts: - hosts:
- ${REPO_NAME}.git.ionas999.at - ${REPO_NAME}.git.hinterdorfer.dev
rules: rules:
- host: ${REPO_NAME}.git.ionas999.at - host: ${REPO_NAME}.git.hinterdorfer.dev
http: http:
paths: paths:
- path: / - path: /