Skip to content

Comments

CI(Docker): Fix failures in forks when fetching latest tag or current branch fails#6506

Merged
echoix merged 2 commits intoOSGeo:mainfrom
echoix:docker-build-fork-meta-tags-not-available
Oct 14, 2025
Merged

CI(Docker): Fix failures in forks when fetching latest tag or current branch fails#6506
echoix merged 2 commits intoOSGeo:mainfrom
echoix:docker-build-fork-meta-tags-not-available

Conversation

@echoix
Copy link
Member

@echoix echoix commented Oct 14, 2025

As discovered in the PR of the fork of #6481, when a fork doesn't have tags or all branches, the step that gets the information needed for marking the image as current or latest fails, and won't build at all. Instead, make sure that these two tags are false and try avoiding errors in that step.

@github-actions github-actions bot added the CI Continuous integration label Oct 14, 2025
@echoix echoix enabled auto-merge (squash) October 14, 2025 12:19
@wenzeslaus
Copy link
Member

Thus is very unlikely to happen in the main repo, so making the errors less obvious should not be a problem.

@echoix echoix merged commit 0cb98e8 into OSGeo:main Oct 14, 2025
32 checks passed
@echoix echoix deleted the docker-build-fork-meta-tags-not-available branch October 14, 2025 14:28
@github-actions github-actions bot added this to the 8.5.0 milestone Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants