Merged
Conversation
Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com>
andrleite
approved these changes
Aug 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix Docker image tagging for GitOps platform automation compatibility
Problem 🐛
When ARM support was added to the CI pipeline, the Docker image tagging convention was inadvertently changed, breaking the GitOps platform automation:
test-20250708.141927latesttaggitops-platformrepository could no longer find the latest provisioner images because they search for the pattern^test-[0-9]{8}\.[0-9]{6}$Root Cause Analysis 🔍
The issue was in
.github/workflows/ci.ymlwhere thecreate-manifestjob was hardcoded to createlatesttags for master merges:The E2E images also used a static
testtag instead of timestamp-based tags.Solution ✅
Restored timestamp-based tagging for master merges while preserving ARM multi-arch support:
Main Provisioner Image (
mattermost/mattermost-cloud)pr-{PR_NUMBER}(e.g.,pr-1127)test-YYYYMMDD.HHMMSS(e.g.,test-20250106.164500){branch_name}E2E Image (
mattermost/mattermost-cloud-e2e)test(static tag for testing)test-YYYYMMDD.HHMMSS(same timestamp as main image)test(static tag)Changes Made 🔧
Modified main image tagging logic (lines 159-163):
Added conditional E2E image tagging (lines 272-281):
Benefits 🎯
Testing 🧪
pr-{number}tagstest-YYYYMMDD.HHMMSStags for both imagesRelated Issues 📋
Fixes the GitOps platform automation failure where dev/test environment provisioner updates stopped working after ARM support was introduced.
Ticket Link
Release Note