We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c893196 commit 6323723Copy full SHA for 6323723
.github/workflows/unit-tests.yml
@@ -7,6 +7,8 @@ jobs:
7
unitTests:
8
name: "🧪 Unit Tests"
9
runs-on: ubuntu-latest
10
+ env:
11
+ DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
12
steps:
13
- name: 🔧 Disable IPv6
14
run: |
@@ -52,10 +54,14 @@ jobs:
52
54
53
55
# ..to avoid rate limits when pulling images
56
- name: 🐳 Login to DockerHub
57
+ if: ${{ env.DOCKERHUB_USERNAME }}
58
uses: docker/login-action@v3
59
with:
60
username: ${{ secrets.DOCKERHUB_USERNAME }}
61
password: ${{ secrets.DOCKERHUB_TOKEN }}
62
+ - name: 🐳 Skipping DockerHub login (no secrets available)
63
+ if: ${{ !env.DOCKERHUB_USERNAME }}
64
+ run: echo "DockerHub login skipped because secrets are not available."
65
66
- name: 📥 Download deps
67
run: pnpm install --frozen-lockfile
0 commit comments