From 6db4b439fcc6ab9b113705e216c047d10c603720 Mon Sep 17 00:00:00 2001 From: Jan Willhaus Date: Sat, 11 Feb 2023 15:52:28 +0100 Subject: [PATCH] Tag docker images with semver+major --- .github/workflows/docker-build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index 3d8ae8b..b7178f1 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -23,7 +23,8 @@ jobs: images: ghcr.io/janw/pi-hole-influx tags: | type=ref,event=pr - type=ref,event=tag + type=semver,pattern=v{{major}} + type=semver,pattern=v{{version}} type=edge,branch=$repo.default_branch type=raw,value=latest,enable={{is_default_branch}}