From bab638154613917863428e1c62e065b3648e12e4 Mon Sep 17 00:00:00 2001 From: Alan Grainger Date: Thu, 31 Oct 2024 14:09:41 +0100 Subject: [PATCH] Only build on version tags --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4bac97b..6d3ccaa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,6 +2,10 @@ name: Create and publish a Docker image on: push: + branches: + - main + tags: + - 'v*' # Only on version tags like v1.0, v2.0, etc. env: REGISTRY: ghcr.io