From 0b49c8612a52076d15b1df33a1c4a9a8d13793a1 Mon Sep 17 00:00:00 2001 From: Soxoj <31013580+soxoj@users.noreply.github.com> Date: Fri, 29 May 2026 18:41:11 +0200 Subject: [PATCH] Dockerhub build update (#2713) * Dockerhub: update of label orders, fix for README update --- .github/workflows/build-docker-image.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 0be41873..179ca620 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -8,6 +8,9 @@ jobs: docker: runs-on: ubuntu-latest steps: + - + name: Checkout + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -26,20 +29,23 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ secrets.DOCKER_HUB_USERNAME }}/maigret + # Order matters: last-listed tag is pushed last by buildx and shows + # up first in Docker Hub UI. So we want latest at the bottom. tags: | - type=raw,value=latest,enable={{is_default_branch}} - type=ref,event=branch type=sha,prefix= + type=ref,event=branch + type=raw,value=latest,enable={{is_default_branch}} - name: Extract metadata (Web UI) id: meta_web uses: docker/metadata-action@v5 with: images: ${{ secrets.DOCKER_HUB_USERNAME }}/maigret + # Same ordering trick as above: `web` should rank above its siblings. tags: | - type=raw,value=web,enable={{is_default_branch}} - type=ref,event=branch,suffix=-web type=sha,prefix=web- + type=ref,event=branch,suffix=-web + type=raw,value=web,enable={{is_default_branch}} # Build Web UI first so CLI (`latest`) becomes the most-recent push # and shows up at the top of the Docker Hub tags list. -