Skip to content

[ci] do not push latest docker tag if the release is not the most recent one (#14671)#14670

Merged
efaure merged 2 commits intomasterfrom
oob/ci-fix-dockertag
Mar 5, 2026
Merged

[ci] do not push latest docker tag if the release is not the most recent one (#14671)#14670
efaure merged 2 commits intomasterfrom
oob/ci-fix-dockertag

Conversation

@efaure
Copy link
Member

@efaure efaure commented Feb 27, 2026

Do not push latest tag if the release is not the last one

Closes #14671

@efaure efaure requested a review from labo-flg February 27, 2026 14:52
@github-actions github-actions bot added the filigran team use to identify PR from the Filigran team label Feb 27, 2026
@labo-flg labo-flg changed the title Do not push latest tag if the release is not the last one [ci] do not push latest docker tag if the release is not the most recent one Feb 27, 2026
@labo-flg labo-flg changed the title [ci] do not push latest docker tag if the release is not the most recent one [ci] do not push latest docker tag if the release is not the most recent one (#14671) Feb 27, 2026
@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.35%. Comparing base (4096009) to head (00e2d38).
⚠️ Report is 36 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #14670      +/-   ##
==========================================
- Coverage   32.36%   32.35%   -0.01%     
==========================================
  Files        3097     3097              
  Lines      210976   211020      +44     
  Branches    38233    38253      +20     
==========================================
  Hits        68280    68280              
- Misses     142696   142740      +44     
Flag Coverage Δ
opencti-client-python 45.48% <ø> (ø)
opencti-front 2.82% <ø> (-0.01%) ⬇️
opencti-graphql 67.73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@efaure efaure force-pushed the oob/ci-fix-dockertag branch from 6463ab1 to f0dbf0d Compare February 27, 2026 16:18
@efaure efaure force-pushed the oob/ci-fix-dockertag branch from f0dbf0d to 00e2d38 Compare February 27, 2026 16:26
@efaure
Copy link
Member Author

efaure commented Feb 27, 2026

fyi @labo-flg I fixed some copy paste error.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CircleCI Docker release pipeline to prevent FIPS latest-* tags from being overwritten when releasing an older (backport) version tag, aligning FIPS behavior with the existing non-FIPS image logic.

Changes:

  • Determine the most recent semantic Git tag at build time in FIPS docker release jobs.
  • Only add/push latest-fips tags when CIRCLE_TAG matches the most recent semantic version.
  • Apply the same conditional-tagging logic for both DockerHub and GHCR targets (platform + worker).

@efaure efaure merged commit 07def0d into master Mar 5, 2026
52 of 53 checks passed
@efaure efaure deleted the oob/ci-fix-dockertag branch March 5, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ci] when releasing in backport context, latest fips docker images are overwritten

3 participants