Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

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

Add Docker image publish workflow

+59
+59
.github/workflows/docker-publish.yml
··· 1 + name: Publish Docker Image 2 + 3 + on: 4 + workflow_dispatch: 5 + inputs: 6 + version: 7 + description: "Version / image tag (e.g. 1.2.3 or latest)" 8 + required: false 9 + default: "latest" 10 + 11 + env: 12 + GHCR_IMAGE: ghcr.io/tsirysndr/rockbox 13 + DOCKERHUB_IMAGE: tsiry/rockbox 14 + TAG: ${{ github.event.inputs.version }} 15 + 16 + jobs: 17 + build-and-push: 18 + runs-on: ubuntu-latest 19 + permissions: 20 + contents: read 21 + packages: write 22 + 23 + steps: 24 + - name: Checkout 25 + uses: actions/checkout@v4 26 + 27 + - name: Set up Docker Buildx 28 + uses: docker/setup-buildx-action@v3 29 + with: 30 + driver: cloud 31 + endpoint: tsiry/rockbox-builder 32 + 33 + - name: Log in to GitHub Container Registry 34 + uses: docker/login-action@v3 35 + with: 36 + registry: ghcr.io 37 + username: ${{ github.actor }} 38 + password: ${{ secrets.GITHUB_TOKEN }} 39 + 40 + - name: Log in to Docker Hub 41 + uses: docker/login-action@v3 42 + with: 43 + username: ${{ secrets.DOCKERHUB_USERNAME }} 44 + password: ${{ secrets.DOCKERHUB_PASSWORD }} 45 + 46 + - name: Build and push 47 + uses: docker/build-push-action@v6 48 + with: 49 + context: . 50 + file: ./Dockerfile 51 + platforms: linux/amd64,linux/arm64 52 + push: true 53 + build-args: | 54 + TAG=${{ env.TAG }} 55 + tags: | 56 + ${{ env.GHCR_IMAGE }}:${{ env.TAG }} 57 + ${{ env.GHCR_IMAGE }}:latest 58 + ${{ env.DOCKERHUB_IMAGE }}:${{ env.TAG }} 59 + ${{ env.DOCKERHUB_IMAGE }}:latest