aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/versioned_release.yaml
diff options
context:
space:
mode:
authorchrislusf <chris.lu@gmail.com>2025-12-06 12:16:23 -0800
committerChris Lu <chrislusf@users.noreply.github.com>2025-12-06 18:53:22 -0800
commitdd5d682b1fdf9be8f30d39f2211c6cb0a7ef7c2f (patch)
tree8809302ce0fa7800280553dd2a56817e13775f6c /.github/workflows/versioned_release.yaml
parent62bd056a3427738f0bebd9ca405d84e29275755b (diff)
downloadseaweedfs-csi-driver-dd5d682b1fdf9be8f30d39f2211c6cb0a7ef7c2f.tar.xz
seaweedfs-csi-driver-dd5d682b1fdf9be8f30d39f2211c6cb0a7ef7c2f.zip
fix: skip DockerHub login for PRs where secrets are unavailable
Diffstat (limited to '.github/workflows/versioned_release.yaml')
-rw-r--r--.github/workflows/versioned_release.yaml3
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 }}