From 536d4ff2119b12d1704ed33c16c376d62837599b Mon Sep 17 00:00:00 2001 From: Jesus Date: Fri, 11 Oct 2024 11:29:05 +0800 Subject: Remove container test --- .gitea/workflows/release.yaml | 14 -------------- 1 file changed, 14 deletions(-) (limited to '.gitea/workflows') diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 420e3fb..573d4ed 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -61,20 +61,6 @@ jobs: vuln-type: 'os' severity: 'CRITICAL,HIGH' - - name: Run Docker container - id: run_container - run: | - docker run --rm -d --name yt_local_${{ gitea.sha }} ${{ secrets.DOCKER_REGISTRY_USER }}/yt-local:latest - - - name: Test Docker container - run: | - sleep 15 - docker exec yt_local_${{ gitea.sha }} curl -o /dev/null -s -w "%{http_code}\n" http://127.0.0.1:8080/youtube.com || exit 1 - - - name: Clean up - if: always() - run: docker stop yt_local_${{ gitea.sha }} - - name: Push Docker image uses: docker/build-push-action@v6 with: -- cgit v1.2.3