A simple tool which lets you scrape twitter accounts and crosspost them to bluesky accounts! Comes with a CLI and a webapp for managing profiles! Works with images/videos/link embeds/threads.
11
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix Docker Hub workflow when secrets are unset

Use an explicit credentials check step and gate publish steps so the workflow exits successfully with a notice when Docker Hub secrets are not configured.

jack a68389a7 85544e44

+19 -1
+19 -1
.github/workflows/docker-publish-dockerhub.yml
··· 18 18 19 19 jobs: 20 20 publish: 21 - if: ${{ secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != '' }} 22 21 runs-on: ubuntu-latest 23 22 steps: 23 + - name: Check Docker Hub credentials 24 + id: creds 25 + env: 26 + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} 27 + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} 28 + run: | 29 + if [ -z "$DOCKERHUB_USERNAME" ] || [ -z "$DOCKERHUB_TOKEN" ]; then 30 + echo "enabled=false" >> "$GITHUB_OUTPUT" 31 + echo "::notice::Skipping Docker Hub publish because DOCKERHUB_USERNAME/DOCKERHUB_TOKEN are not set." 32 + else 33 + echo "enabled=true" >> "$GITHUB_OUTPUT" 34 + fi 35 + 24 36 - name: Checkout 37 + if: steps.creds.outputs.enabled == 'true' 25 38 uses: actions/checkout@v4 26 39 27 40 - name: Set up QEMU 41 + if: steps.creds.outputs.enabled == 'true' 28 42 uses: docker/setup-qemu-action@v3 29 43 30 44 - name: Set up Docker Buildx 45 + if: steps.creds.outputs.enabled == 'true' 31 46 uses: docker/setup-buildx-action@v3 32 47 33 48 - name: Log in to Docker Hub 49 + if: steps.creds.outputs.enabled == 'true' 34 50 uses: docker/login-action@v3 35 51 with: 36 52 username: ${{ secrets.DOCKERHUB_USERNAME }} 37 53 password: ${{ secrets.DOCKERHUB_TOKEN }} 38 54 39 55 - name: Extract Docker metadata 56 + if: steps.creds.outputs.enabled == 'true' 40 57 id: meta 41 58 uses: docker/metadata-action@v5 42 59 with: ··· 50 67 type=sha,prefix=sha- 51 68 52 69 - name: Build and push 70 + if: steps.creds.outputs.enabled == 'true' 53 71 uses: docker/build-push-action@v6 54 72 with: 55 73 context: .