@@ -45,14 +45,13 @@ jobs:
4545 env :
4646 GITHUB_TOKEN : ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
4747
48- # Prepare a clean binary layout for the multi-arch Docker build.
49- # Goreleaser outputs to dist/kefw2ui_linux_amd64_v1/ and
50- # dist/kefw2ui_linux_arm64_v8.0/; we normalize to dist/linux_{arch}/.
51- - name : Prepare Docker binaries
52- run : |
53- mkdir -p dist/linux_amd64 dist/linux_arm64
54- cp dist/kefw2ui_linux_amd64_v*/kefw2ui dist/linux_amd64/kefw2ui
55- cp dist/kefw2ui_linux_arm64_v*/kefw2ui dist/linux_arm64/kefw2ui
48+ docker :
49+ name : Docker
50+ runs-on : ubuntu-24.04
51+ needs : release
52+ steps :
53+ - name : Checkout
54+ uses : actions/checkout@v4
5655
5756 - name : Set up QEMU
5857 uses : docker/setup-qemu-action@v3
@@ -67,25 +66,25 @@ jobs:
6766 username : ${{ github.actor }}
6867 password : ${{ secrets.GITHUB_TOKEN }}
6968
70- # - name: Docker meta
71- # id: meta
72- # uses: docker/metadata-action@v5
73- # with:
74- # images: ghcr.io/hilli/kefw2ui
75- # tags: |
76- # type=semver,pattern={{version}}
77- # type=semver,pattern={{major}}.{{minor}}
78- # type=raw,value=latest,enable={{is_default_branch}}
79- # labels: |
80- # org.opencontainers.image.title=kefw2ui
81- # org.opencontainers.image.description=Web UI for controlling KEF W2 speakers
82- # org.opencontainers.image.source=https://github.com/hilli/kefw2ui
69+ - name : Docker meta
70+ id : meta
71+ uses : docker/metadata-action@v5
72+ with :
73+ images : ghcr.io/hilli/kefw2ui
74+ tags : |
75+ type=semver,pattern={{version}}
76+ type=semver,pattern={{major}}.{{minor}}
77+ type=raw,value=latest,enable={{is_default_branch}}
78+ labels : |
79+ org.opencontainers.image.title=kefw2ui
80+ org.opencontainers.image.description=Web UI for controlling KEF W2 speakers
81+ org.opencontainers.image.source=https://github.com/hilli/kefw2ui
8382
8483 - name : Build and push Docker image
8584 uses : docker/build-push-action@v6
8685 with :
8786 context : .
88- file : Dockerfile.goreleaser
87+ file : Dockerfile
8988 platforms : linux/amd64,linux/arm64
9089 push : true
9190 tags : ${{ steps.meta.outputs.tags }}
0 commit comments