Lightweight server monitoring with historical data, docker stats, and alerts.
fix: prevent variant Docker images from overwriting latest tags
henrygd97de1471d7dd
diff --git a/.github/workflows/docker-images.yml b/.github/workflows/docker-images.ymlindex 44d57be2d..2f76718aa 100644--- a/.github/workflows/docker-images.yml+++ b/.github/workflows/docker-images.yml@@ -29,6 +29,7 @@ jobs:# henrygd/beszel-agent:alpine- image: henrygd/beszel-agentdockerfile: ./internal/dockerfile_agent_alpine+ flavor: latest=falseregistry: docker.iousername_secret: DOCKERHUB_USERNAMEpassword_secret: DOCKERHUB_TOKEN@@ -55,6 +56,7 @@ jobs:# henrygd/beszel-agent-nvidia:slim- image: henrygd/beszel-agent-nvidiadockerfile: ./internal/dockerfile_agent_nvidia_slim+ flavor: latest=falseplatforms: linux/amd64,linux/arm64registry: docker.iousername_secret: DOCKERHUB_USERNAME@@ -123,6 +125,7 @@ jobs:# ghcr.io/henrygd/beszel-agent-nvidia:slim- image: ghcr.io/${{ github.repository }}/beszel-agent-nvidiadockerfile: ./internal/dockerfile_agent_nvidia_slim+ flavor: latest=falseplatforms: linux/amd64,linux/arm64registry: ghcr.iousername: ${{ github.actor }}@@ -150,6 +153,7 @@ jobs:# ghcr.io/henrygd/beszel-agent:alpine- image: ghcr.io/${{ github.repository }}/beszel-agentdockerfile: ./internal/dockerfile_agent_alpine+ flavor: latest=falseregistry: ghcr.iousername: ${{ github.actor }}password_secret: GITHUB_TOKEN@@ -159,7 +163,7 @@ jobs:type=semver,pattern={{major}}.{{minor}}-alpinetype=semver,pattern={{major}}-alpine- # henrygd/beszel-agent (keep at bottom so it gets built after :alpine and gets the latest tag)+ # henrygd/beszel-agent- image: henrygd/beszel-agentdockerfile: ./internal/dockerfile_agentregistry: docker.io@@ -200,6 +204,8 @@ jobs:uses: docker/metadata-action@v6with:images: ${{ matrix.image }}+ # Variant images must not overwrite the standard image's latest tag.+ flavor: ${{ matrix.flavor || 'latest=auto' }}tags: ${{ matrix.tags }}# https://github.com/docker/login-action