Update .gitea/workflows/server-run.yaml
This commit is contained in:
parent
89014da485
commit
f03d0daa44
@ -29,17 +29,17 @@ jobs:
|
||||
- name: Log in to Docker registry
|
||||
if: env.exists == 'true'
|
||||
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
|
||||
if: env.exists == 'true'
|
||||
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
|
||||
if: env.exists == 'true'
|
||||
run: |
|
||||
docker push git.ionas999.at/${{ env.IMAGE_NAME }}:latest
|
||||
docker push git.hinterdorfer.dev/${{ env.IMAGE_NAME }}:latest
|
||||
|
||||
deploy_to_k8s:
|
||||
runs-on: ubuntu-latest
|
||||
@ -120,7 +120,7 @@ jobs:
|
||||
spec:
|
||||
containers:
|
||||
- name: ${REPO_NAME}
|
||||
image: git.ionas999.at/${FULL_REPO}:latest
|
||||
image: git.hinterdorfer.dev/${FULL_REPO}:latest
|
||||
ports:
|
||||
- containerPort: 80
|
||||
---
|
||||
@ -150,9 +150,9 @@ jobs:
|
||||
ingressClassName: traefik
|
||||
tls:
|
||||
- hosts:
|
||||
- ${REPO_NAME}.git.ionas999.at
|
||||
- ${REPO_NAME}.git.hinterdorfer.dev
|
||||
rules:
|
||||
- host: ${REPO_NAME}.git.ionas999.at
|
||||
- host: ${REPO_NAME}.git.hinterdorfer.dev
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
|
||||
Loading…
Reference in New Issue
Block a user