feat: add testing-torrents

This commit is contained in:
2025-04-01 03:00:29 +08:00
parent 07ac7e3376
commit a0fc4c04d9
21 changed files with 2667 additions and 439 deletions

View File

@@ -0,0 +1,28 @@
name: Build and Push Testing Torrents Container
on:
workflow_dispatch:
jobs:
build-container:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: 'packages/testing-torrents'
file: './Dockerfile'
push: true
tags: 'ghcr.io/${{ env.ORG }}/konobangu-testing-torrents:latest'
cache-from: type=gha
cache-to: type=gha,mode=max