From 983c7cde9d57165e81b5cc5edef9325928cfb9dd Mon Sep 17 00:00:00 2001 From: zwitschi Date: Sun, 5 Oct 2025 16:08:43 +0200 Subject: [PATCH] refactor: remove Docker image verification and cleanup steps from build-container workflow --- .gitea/workflows/build-container.yaml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.gitea/workflows/build-container.yaml b/.gitea/workflows/build-container.yaml index ef45a2d..6a12e96 100644 --- a/.gitea/workflows/build-container.yaml +++ b/.gitea/workflows/build-container.yaml @@ -30,26 +30,6 @@ jobs: push: true tags: git.allucanget.biz/${{ secrets.REGISTRY_USERNAME }}/thc-webhook:latest - - name: Verify the Docker image is running - run: | - docker run -d --name test-thc-webhook -e DISCORD_WEBHOOK_URL=${{ secrets.DISCORD_WEBHOOK_URL }} -e TENOR_API_KEY=${{ secrets.TENOR_API_KEY }} -p 8080:8080 git.allucanget.biz/${{ secrets.REGISTRY_USERNAME }}/thc-webhook:latest - sleep 10 - if [ $(docker ps -q -f name=test-thc-webhook | wc -l) -eq 1 ]; then - echo "Container is running successfully." - docker logs test-thc-webhook - docker stop test-thc-webhook - docker rm test-thc-webhook - else - echo "Container failed to start." - exit 1 - fi - - name: Clean up Docker images - run: docker image prune -f - - portainer-deploy: - runs-on: ubuntu-latest - needs: build-and-deploy - steps: - name: Deploy to Portainer uses: appleboy/ssh-action@v0.1.7 with: