Build Docker images only for releases
linter / quality (push) Successful in 1m3s
tests / ci (8.5) (push) Successful in 8m18s

A push to main built and pushed the full multi-arch image as :main and
sha-<commit>, 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 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 09:18:56 +02:00
co-authored by Claude Opus 5.5
parent 25250b7df3
commit 014184c824
-4
View File
@@ -2,8 +2,6 @@ name: docker
on: on:
push: push:
branches:
- main
tags: tags:
- "v*.*.*" - "v*.*.*"
pull_request: pull_request:
@@ -98,8 +96,6 @@ jobs:
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}} type=semver,pattern={{major}}
type=ref,event=branch
type=sha
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v7 uses: docker/build-push-action@v7