fix game
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m3s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m3s
This commit is contained in:
7
.github/workflows/deploy.yaml
vendored
7
.github/workflows/deploy.yaml
vendored
@@ -165,6 +165,13 @@ jobs:
|
||||
sed -i "s|\${TARGET_NS}|${{ env.TARGET_NS }}|g" k8s/ingress.yaml
|
||||
sed -i "s|\${IMAGE_NAME}|${{ env.DEPLOY_IMAGE }}|g" k8s/app.yaml
|
||||
|
||||
# Admin-Credentials Secret anlegen/aktualisieren (aus Gitea Secret)
|
||||
kubectl create secret generic admin-credentials \
|
||||
--from-literal=username="${{ secrets.ADMIN_USER }}" \
|
||||
--from-literal=password="${{ secrets.ADMIN_PASSWORD }}" \
|
||||
--namespace=${{ env.TARGET_NS }} \
|
||||
--dry-run=client -o yaml | kubectl apply -f -
|
||||
|
||||
# Anwenden
|
||||
echo "Deploying to Namespace: ${{ env.TARGET_NS }} (Image: ${{ env.DEPLOY_IMAGE }})"
|
||||
kubectl apply -f k8s/compress-middleware.yaml -n ${{ env.TARGET_NS }}
|
||||
|
||||
Reference in New Issue
Block a user