fix: fix testing torrents container

This commit is contained in:
2025-04-01 03:45:56 +08:00
parent a0fc4c04d9
commit 1fca69fa66
10 changed files with 159 additions and 1721 deletions

View File

@@ -3,6 +3,11 @@ name: Build and Push Testing Torrents Container
on:
workflow_dispatch:
env:
REGISTRY: ghcr.io
ORG: dumtruck
PROJECT: konobangu
jobs:
build-container:
runs-on: ubuntu-latest
@@ -18,11 +23,11 @@ jobs:
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
uses: docker/build-push-action@v5
with:
context: 'packages/testing-torrents'
file: './Dockerfile'
push: true
tags: 'ghcr.io/${{ env.ORG }}/${{ env.PROJECT }}-testing-torrents:latest'
cache-from: type=gha
cache-to: type=gha,mode=max