fix staging build yaml docker build image
Some checks failed
Staging Build / build (push) Failing after 29s
Some checks failed
Staging Build / build (push) Failing after 29s
This commit is contained in:
@@ -24,19 +24,18 @@ jobs:
|
||||
NODE_ENV: production
|
||||
run: npm run build
|
||||
|
||||
# KORREKTUR: Anführungszeichen hinzugefügt und ENV-Übergabe gesichert
|
||||
- name: Docker login to Gitea registry
|
||||
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login gitea.hephex.de -u "${{ secrets.REGISTRY_USER }}" --password-stdin
|
||||
|
||||
# KORREKTUR: Wir nutzen das gesetzte working-directory (shop) und bauen direkt dort
|
||||
- name: Build Docker image
|
||||
run: docker build -t gitea.hephex.de/daniel/webshop:staging -f shop/Dockerfile .
|
||||
working-directory: ..
|
||||
run: docker build -t gitea.hephex.de/daniel/webshop:staging .
|
||||
|
||||
# KORREKTUR: Der Push-Befehl wurde von den falschen Pfad-Parametern bereinigt
|
||||
- name: Push Docker image
|
||||
run: docker push gitea.hephex.de/daniel/webshop:staging -f shop/Dockerfile .
|
||||
working-directory: ..
|
||||
run: docker push gitea.hephex.de/daniel/webshop:staging
|
||||
|
||||
# KORREKTUR: Pfad auf Ihren echten Proxmox-Supabase-Ordner angepasst
|
||||
# KORREKTUR: IP-Adresse exakt auf Ihren Proxmox-Staging-Container eingestellt
|
||||
- name: Deploy to Proxmox LXC via SSH
|
||||
uses: appleboy/ssh-action@v0.1.5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user