diff options
| author | chrislusf <chris.lu@gmail.com> | 2025-12-06 12:16:23 -0800 |
|---|---|---|
| committer | chrislusf <chris.lu@gmail.com> | 2025-12-06 12:16:23 -0800 |
| commit | 25f12fb8ad03901af6924d94d639bfec1dbe2860 (patch) | |
| tree | 8809302ce0fa7800280553dd2a56817e13775f6c | |
| parent | f35eb03d022bfe6b56404671e5202433ff410e21 (diff) | |
| download | seaweedfs-csi-driver-25f12fb8ad03901af6924d94d639bfec1dbe2860.tar.xz seaweedfs-csi-driver-25f12fb8ad03901af6924d94d639bfec1dbe2860.zip | |
fix: skip DockerHub login for PRs where secrets are unavailable
| -rw-r--r-- | .github/workflows/versioned_release.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/versioned_release.yaml b/.github/workflows/versioned_release.yaml index 61b3faf..de3a62b 100644 --- a/.github/workflows/versioned_release.yaml +++ b/.github/workflows/versioned_release.yaml @@ -68,7 +68,8 @@ jobs: buildkitd-flags: "--debug" - name: Login to DockerHub - # if: ${{ startsWith(github.ref, 'refs/tags/') }} + # Skip for PRs where secrets are not available + if: ${{ github.event_name != 'pull_request' }} uses: docker/login-action@v3 with: # username: ${{ secrets.DOCKERHUB_USERNAME }} |
