From 014184c8241614db65054f307aab1255cc54ae07 Mon Sep 17 00:00:00 2001 From: surtic86 Date: Thu, 22 Oct 2026 09:18:56 +0200 Subject: [PATCH] Build Docker images only for releases A push to main built and pushed the full multi-arch image as :main and sha-, next to the release build of the same commit. The docker workflow now runs only for v*.*.* tags (and builds without pushing for pull requests), and a release publishes only its version tags and latest. The tests and lint workflows still run on each push to main. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/docker.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 1160ced..9103a8f 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -2,8 +2,6 @@ name: docker on: push: - branches: - - main tags: - "v*.*.*" pull_request: @@ -98,8 +96,6 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - type=ref,event=branch - type=sha - name: Build and push Docker image uses: docker/build-push-action@v7