mirror of
https://github.com/ihmily/StreamCap.git
synced 2026-05-07 22:15:58 +08:00
Update docker-build.yml
This commit is contained in:
6
.github/workflows/docker-build.yml
vendored
6
.github/workflows/docker-build.yml
vendored
@@ -33,8 +33,8 @@ jobs:
|
||||
${{ secrets.DOCKER_HUB_USERNAME }}/streamcap:${{ github.sha }}
|
||||
${{ github.ref == 'refs/heads/main' && format('{0}/streamcap:edge', secrets.DOCKER_HUB_USERNAME) || '' }}
|
||||
${{ startsWith(github.ref, 'refs/tags/') && format('{0}/streamcap:{1}', secrets.DOCKER_HUB_USERNAME, github.ref_name) || '' }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
cache-from: type=gha,scope=${{ github.ref }}
|
||||
cache-to: type=gha,scope=${{ github.ref }},mode=max
|
||||
|
||||
- name: Notify build status
|
||||
if: always()
|
||||
@@ -50,4 +50,4 @@ jobs:
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
body: message
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user