diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 50ef10d..2e1ad1f 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -13,16 +13,16 @@ jobs: steps: - name: Code auschecken uses: actions/checkout@v4 -##hallo + - name: Docker login to Gitea registry run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login gitea.hephex.de -u "${{ secrets.REGISTRY_USER }}" --password-stdin - name: Build Docker image run: | - docker build -t gitea.hephex.de/daniel/websitedummy:latest -f Dockerfile . + docker build -t gitea.hephex.de/daniel/ndsolutionswebsite:latest -f Dockerfile . - name: Push Docker image - run: docker push gitea.hephex.de/daniel/websitedummy:latest + run: docker push gitea.hephex.de/daniel/ndsolutionswebsite:latest - name: Clean up runner Docker cache run: | @@ -36,15 +36,14 @@ jobs: username: ${{ secrets.PROXMOX_USER }} key: ${{ secrets.PROXMOX_SSH_KEY }} script: | - mkdir -p /opt/websitedummy - cd /opt/websitedummy + mkdir -p /opt/ndsolutionswebsite + cd /opt/ndsolutionswebsite - # WICHTIG: Der Inhalt hier MUSS ganz links ohne Einrückung stehen! cat << 'EOF' > docker-compose.yml version: '3.8' services: website: - image: gitea.hephex.de/daniel/websitedummy:latest + image: gitea.hephex.de/daniel/ndsolutionswebsite:latest restart: always ports: - "8080:80"