From ba9203d51c280168822dc746480e7d474b1df2a0 Mon Sep 17 00:00:00 2001 From: Mishael-2584 Date: Wed, 21 Jan 2026 16:26:12 +0300 Subject: [PATCH 1/2] fix(docker): tag dev branch builds as latest for demo server - Add 'latest' tag to dev branch builds - Allows servers using 'latest' tag to automatically get dev updates - Fixes issue where demo server wasn't getting validation fixes --- .github/workflows/synkronus-docker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/synkronus-docker.yml b/.github/workflows/synkronus-docker.yml index c4dec91b3..05802889c 100644 --- a/.github/workflows/synkronus-docker.yml +++ b/.github/workflows/synkronus-docker.yml @@ -61,6 +61,8 @@ jobs: tags: | # For main branch: latest + version tag (manual dispatch) or release tag type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }} + # For dev branch: also tag as latest (for demo server auto-updates) + type=raw,value=latest,enable=${{ github.ref == 'refs/heads/dev' }} # When triggered via manual dispatch with a version input type=semver,pattern=v{{version}},enable=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version != '' }},value=${{ github.event.inputs.version }} type=semver,pattern=v{{major}}.{{minor}},enable=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version != '' }},value=${{ github.event.inputs.version }} @@ -68,7 +70,7 @@ jobs: type=semver,pattern=v{{version}},enable=${{ github.event_name == 'release' }},value=${{ github.event.release.tag_name }} type=semver,pattern=v{{major}}.{{minor}},enable=${{ github.event_name == 'release' }},value=${{ github.event.release.tag_name }} # For other branches: branch name (pre-release) - type=ref,event=branch,enable=${{ github.event_name != 'release' && github.ref != 'refs/heads/main' }} + type=ref,event=branch,enable=${{ github.event_name != 'release' && github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }} # For PRs: pr-number type=ref,event=pr # SHA for traceability (only for non-release events) From f744f160e97a908f20a6e73b47aa6b11aadffd82 Mon Sep 17 00:00:00 2001 From: Mishael-2584 Date: Fri, 23 Jan 2026 11:40:40 +0300 Subject: [PATCH 2/2] fix(docker): update dev branch tagging for demo server - Tag dev branch builds as both 'dev' and 'latest' to ensure demo server auto-updates. - Clarify tagging logic in workflow configuration. --- .github/workflows/synkronus-docker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/synkronus-docker.yml b/.github/workflows/synkronus-docker.yml index 05802889c..1cf6f040b 100644 --- a/.github/workflows/synkronus-docker.yml +++ b/.github/workflows/synkronus-docker.yml @@ -61,7 +61,8 @@ jobs: tags: | # For main branch: latest + version tag (manual dispatch) or release tag type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }} - # For dev branch: also tag as latest (for demo server auto-updates) + # For dev branch: tag as both dev and latest (for demo server auto-updates) + type=raw,value=dev,enable=${{ github.ref == 'refs/heads/dev' }} type=raw,value=latest,enable=${{ github.ref == 'refs/heads/dev' }} # When triggered via manual dispatch with a version input type=semver,pattern=v{{version}},enable=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version != '' }},value=${{ github.event.inputs.version }}