Fix GitHub Workflows Configuration Issues (#451)

This commit is contained in:
tanzhenxin
2025-08-26 16:54:52 +08:00
committed by GitHub
parent 98fd0f6a89
commit 1baf5d795f
6 changed files with 55 additions and 26 deletions

View File

@@ -46,7 +46,7 @@ jobs:
- name: 'Log in to the Container registry'
if: |-
${{ github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
${{ github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || github.event.inputs.publish == 'true') }}
uses: 'docker/login-action@v3' # ratchet:exclude
with:
registry: '${{ env.REGISTRY }}'