.github/workflows/deploy.yml aktualisiert
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 15s
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 15s
This commit is contained in:
parent
3570d7166d
commit
bc8d850ebf
1 changed files with 7 additions and 1 deletions
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
|
|
@ -25,7 +25,6 @@ jobs:
|
|||
cp nginx_ssl/nginx.crt /usr/local/share/ca-certificates/nginx-sandbox.crt 2>/dev/null || echo "Nutze Workspace-Zertifikat"
|
||||
update-ca-certificates
|
||||
|
||||
# KORRIGIERT: Nutzt das dedizierte PAT mit echten Schreibrechten für Packages
|
||||
- name: Log in to Local Registry
|
||||
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login localhost:3005 -u ${{ github.actor }} --password-stdin
|
||||
|
||||
|
|
@ -42,6 +41,13 @@ jobs:
|
|||
docker push localhost:3005/${{ github.repository }}:${{ github.sha }}
|
||||
docker push localhost:3005/${{ github.repository }}:latest
|
||||
|
||||
# --- DIE OFFIZIELLE INFRASTRUKTUR-RETTUNG ---
|
||||
# Schreibt die echten Cluster-Zugangsdaten direkt sicher in den Workspace
|
||||
- name: Prepare Kubernetes Access
|
||||
run: |
|
||||
echo "${{ secrets.KUBECONFIG_DATA }}" > ./kind_kubeconfig
|
||||
chmod 600 ./kind_kubeconfig
|
||||
|
||||
- name: Terraform Deploy
|
||||
run: |
|
||||
terraform init
|
||||
|
|
|
|||
Loading…
Reference in a new issue