.github/workflows/deploy.yml aktualisiert
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 9s

This commit is contained in:
bast 2026-10-31 14:46:42 +00:00
parent 8f2915f349
commit 8903421459

View file

@ -8,11 +8,7 @@ on:
jobs:
test-and-deploy:
runs-on: ubuntu-latest
# HIER DIE RETTUNG: Wir zwingen act, den Docker-Socket physisch in den Job-Container zu spiegeln
container:
image: catthehacker/ubuntu:act-latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
@ -29,6 +25,7 @@ jobs:
cp nginx_ssl/nginx.crt /usr/local/share/ca-certificates/nginx-sandbox.crt 2>/dev/null || echo "Nutze Workspace-Zertifikat"
update-ca-certificates
# Ruft den nativen Socket ab, der jetzt über die Optionen injiziert wird
- name: Log in to Local Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login nginx -u ${{ github.actor }} --password-stdin