From 71f081da2069384bec95676545593b3af1102c7f Mon Sep 17 00:00:00 2001 From: henrygd Date: Tue, 8 Jul 2025 20:40:51 -0400 Subject: [PATCH] add :edge image tag --- .github/workflows/docker-images.yml | 12 +++++------- beszel/site/src/components/install-dropdowns.tsx | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-images.yml b/.github/workflows/docker-images.yml index abc4b41..fe82831 100644 --- a/.github/workflows/docker-images.yml +++ b/.github/workflows/docker-images.yml @@ -3,7 +3,7 @@ name: Make docker images on: push: tags: - - 'v*' + - "v*" jobs: build: @@ -65,12 +65,10 @@ jobs: with: images: ${{ matrix.image }} tags: | + type=edge,enable=true type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}},enable=${{ !contains(github.ref, '-beta') && !contains(github.ref, '-rc') }} - type=semver,pattern={{major}},enable=${{ !contains(github.ref, '-beta') && !contains(github.ref, '-rc') }} - type=raw,value=latest,enable=${{ !contains(github.ref, '-beta') && !contains(github.ref, '-rc') }} - type=raw,value=beta,enable=${{ contains(github.ref, '-beta') }} - type=raw,value=rc,enable=${{ contains(github.ref, '-rc') }} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{major}} type=raw,value={{sha}},enable=${{ github.ref_type != 'tag' }} # https://github.com/docker/login-action @@ -87,7 +85,7 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@v5 with: - context: '${{ matrix.context }}' + context: "${{ matrix.context }}" file: ${{ matrix.dockerfile }} platforms: linux/amd64,linux/arm64,linux/arm/v7 push: ${{ github.ref_type == 'tag' }} diff --git a/beszel/site/src/components/install-dropdowns.tsx b/beszel/site/src/components/install-dropdowns.tsx index c2a84d3..a7104c5 100644 --- a/beszel/site/src/components/install-dropdowns.tsx +++ b/beszel/site/src/components/install-dropdowns.tsx @@ -4,7 +4,7 @@ import { copyToClipboard, getHubURL } from "@/lib/utils" import { i18n } from "@lingui/core" const isBeta = BESZEL.HUB_VERSION.includes("beta") -const imageTag = isBeta ? ":beta" : "" +const imageTag = isBeta ? ":edge" : "" /** * Get the URL of the script to install the agent.