From eabcfd370ce207ab11b415c075e60f0e68adff85 Mon Sep 17 00:00:00 2001 From: tigattack <10629864+tigattack@users.noreply.github.com> Date: Fri, 3 Oct 2025 16:39:42 +0100 Subject: [PATCH] ci(docker): remove 'dev' branch from push trigger and update image tag handling - Create 'edge' tag for pushes to main - Create versioned & latest tags for new tags with `v` prefix (instead of on release) --- .github/workflows/docker.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5e24f83..6713f75 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,13 +1,14 @@ name: Build and Push Docker Images on: + push: + branches: + - main + tags: + - 'v*' pull_request: branches: - main - - dev - release: - types: - - published workflow_dispatch: inputs: push: @@ -56,7 +57,7 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - type=raw,value=latest,enable={{is_default_branch}} + type=edge,branch=main - name: Build and push ${{ matrix.image }} image uses: docker/build-push-action@v6