fix: fix workflows

This commit is contained in:
master 2025-04-01 03:56:48 +08:00
parent c34584a215
commit 011f62829a

View File

@ -11,6 +11,9 @@ env:
jobs: jobs:
build-container: build-container:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -28,6 +31,6 @@ jobs:
context: 'packages/testing-torrents' context: 'packages/testing-torrents'
file: 'packages/testing-torrents/Dockerfile' file: 'packages/testing-torrents/Dockerfile'
push: true push: true
tags: 'ghcr.io/${{ env.ORG }}/${{ env.PROJECT }}-testing-torrents:latest' tags: '${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.PROJECT }}-testing-torrents:latest'
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max