Skip to content

Add handling of tags in docker-helper #12943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

silv-io
Copy link
Member

@silv-io silv-io commented Jul 31, 2025

Motivation

With the latest release we still had issues with pushing docker images on pipeline runs triggered by the tag push.

This is because the docker helper assumes that only the main branch should be allowed for pushing the images. Since tags are not bound to a branch, a tag-triggered run will not have a branch ref.

We need to add extra provisions for allowing tagged commits to also push images.

/cc @dfangl (and thanks for providing the patch files)

Changes

  • Allow tagged commits to also successfully push images
  • Add bats test to assure this is possible

Testing

To avoid further issues we'll need to do a disarmed action run with pushing enabled.

TODO

What's left to do:

  • Thorough testing
  • ...

Co-authored-by: Daniel Fangl <daniel.fangl@localstack.cloud>
Copy link

github-actions bot commented Jul 31, 2025

Helper Script Tests

29 tests   29 ✅  0s ⏱️
 2 suites   0 💤
 1 files     0 ❌

Results for commit 3555f92.

♻️ This comment has been updated with latest results.

@silv-io silv-io added the semver: patch Non-breaking changes which can be included in patch releases label Jul 31, 2025
Copy link

github-actions bot commented Jul 31, 2025

Test Results - Preflight, Unit

21 980 tests  ±0   20 246 ✅ ±0   6m 16s ⏱️ -38s
     1 suites ±0    1 734 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit 3555f92. ± Comparison against base commit f459293.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jul 31, 2025

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 9s ⏱️ -12s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 3555f92. ± Comparison against base commit f459293.

♻️ This comment has been updated with latest results.

Co-authored-by: Daniel Fangl <daniel.fangl@localstack.cloud>
@silv-io silv-io requested a review from alexrashed July 31, 2025 15:44
Copy link

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 21m 21s ⏱️
4 850 tests 4 369 ✅ 481 💤 0 ❌
4 856 runs  4 369 ✅ 487 💤 0 ❌

Results for commit 3555f92.

Copy link

LocalStack Community integration with Pro

    2 files      2 suites   1h 41m 24s ⏱️
4 491 tests 4 163 ✅ 328 💤 0 ❌
4 493 runs  4 163 ✅ 330 💤 0 ❌

Results for commit 3555f92.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy