correct vuild.yml
This commit is contained in:
@@ -11,7 +11,7 @@ jobs:
|
||||
build-and-deploy:
|
||||
runs-on: webserver
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest # Behebt den "docker: command not found" Fehler
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Code auschecken
|
||||
uses: actions/checkout@v4
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
docker builder prune -f
|
||||
|
||||
- name: Deploy via SSH to Debian Server
|
||||
uses: appleboy/ssh-action@v1.0.3 # Aktualisiert auf eine stabilere Version
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: 192.168.178.164
|
||||
username: ${{ secrets.PROXMOX_USER }}
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
mkdir -p /opt/websitedummy
|
||||
cd /opt/websitedummy
|
||||
|
||||
# Erstellt die docker-compose.yml mit korrektem Port-Mapping
|
||||
# WICHTIG: Der Inhalt hier MUSS ganz links ohne Einrückung stehen!
|
||||
cat << 'EOF' > docker-compose.yml
|
||||
version: '3.8'
|
||||
services:
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
image: gitea.hephex.de/daniel/websitedummy:latest
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8080:80"
|
||||
EOF
|
||||
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login gitea.hephex.de -u "${{ secrets.REGISTRY_USER }}" --password-stdin
|
||||
|
||||
Reference in New Issue
Block a user