chore: label on failed docker build

This commit is contained in:
Tony 2023-04-16 14:43:28 +08:00 committed by GitHub
parent 36134be272
commit 27ce86ccf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 5 deletions

View File

@ -56,11 +56,15 @@ jobs:
cache-from: |
type=registry,ref=${{ secrets.DOCKER_USERNAME }}/rsshub:chromium-bundled
type=gha,scope=docker-release
# ! build on amd64 is fast enough, and cache between PRs never hit, so never waste the 10GB cache limit !
# cache-from: |
# type=gha,scope=docker-test
# type=gha,scope=docker-release
# cache-to: type=gha,mode=max,scope=docker-test
- name: Pull Request Labeler
if: ${{ failure() }}
uses: actions-cool/issues-helper@v3
with:
actions: 'add-labels'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
labels: 'Route Test: Failed'
- name: Test Docker image
run: bash scripts/docker/test-docker.sh