A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 47 lines 1.3 kB view raw
1name: ci 2on: 3 push: 4 tags: 5 - "*" 6 workflow_dispatch: 7 inputs: 8 tag: 9 description: "The existing tag to publish" 10 type: "string" 11 required: true 12 13env: 14 REGISTRY: ghcr.io 15 16jobs: 17 publish: 18 runs-on: ubuntu-latest 19 permissions: 20 contents: write 21 packages: write 22 steps: 23 - uses: actions/checkout@v4 24 with: 25 submodules: true 26 - name: Log in to Docker 27 uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 28 with: 29 username: ${{ secrets.DOCKERHUB_USERNAME }} 30 password: ${{ secrets.DOCKERHUB_PASSWORD }} 31 32 - name: Write Github Token to file 33 run: echo $GITHUB_TOKEN > .github_token 34 env: 35 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 36 37 - name: Build and Publish image to Docker Hub 38 uses: fluentci-io/setup-fluentci@v5 39 with: 40 wasm: true 41 plugin: buildx 42 args: | 43 build_cloud --platform linux/arm64 -t tsiry/rockbox:latest . "--build-arg GITHUB_TOKEN=\"${GITHUB_ACCESS_TOKEN}\" --build-arg TAG=\"${TAG}\"" 44 env: 45 GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} 46 BUILDX_BUILDER: tsiry/rockbox-builder 47 TAG: ${{ inputs.tag || github.ref_name }}