Skip to content

Commit 385053a

Browse files
committed
fix: use continue-on-error instead of complex conditionals for Docker Hub
1 parent 1102676 commit 385053a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
8787

8888
- name: 🔑 Login to Docker Hub (Optional)
89-
if: ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_PASSWORD }}
89+
continue-on-error: true
9090
uses: docker/login-action@v3
9191
with:
9292
username: ${{ secrets.DOCKER_USERNAME }}
@@ -100,7 +100,7 @@ jobs:
100100
password: ${{ secrets.GITHUB_TOKEN }}
101101

102102
- name: 🔧 Build and Push to Docker Hub (Optional)
103-
if: ${{ secrets.DOCKER_USERNAME && secrets.DOCKER_PASSWORD }}
103+
continue-on-error: true
104104
run: |
105105
docker build -t kvnxo/thinkific-downloader:latest .
106106
docker build -t kvnxo/thinkific-downloader:${{ steps.version.outputs.tag }} .

0 commit comments

Comments
 (0)