aboutsummaryrefslogtreecommitdiffstats
path: root/.gitea
diff options
context:
space:
mode:
authorJesus <heckyel@hyperbola.info>2024-10-11 11:29:05 +0800
committerJesus <heckyel@hyperbola.info>2024-10-11 11:29:05 +0800
commit536d4ff2119b12d1704ed33c16c376d62837599b (patch)
treec13edee7fa212b9096d15d38a5b66b59dae9c8b9 /.gitea
parentc44529ab76f85be3e054447a02d0f218272996e2 (diff)
downloadyt-local-docker-536d4ff2119b12d1704ed33c16c376d62837599b.tar.lz
yt-local-docker-536d4ff2119b12d1704ed33c16c376d62837599b.tar.xz
yt-local-docker-536d4ff2119b12d1704ed33c16c376d62837599b.zip
Remove container test
Diffstat (limited to '.gitea')
-rw-r--r--.gitea/workflows/release.yaml14
1 files changed, 0 insertions, 14 deletions
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: