lycheeverse / lychee

⚡ Fast, async, stream-based link checker written in Rust. Finds broken URLs and mail addresses inside Markdown, HTML, reStructuredText, websites and more!
https://lychee.cli.rs
Apache License 2.0
2.22k stars 134 forks source link

Allow Docker pushes on release branches #1568

Open eread opened 6 days ago

eread commented 6 days ago

As outlined in https://github.com/lycheeverse/lychee/issues/1432#issuecomment-2477830138, the current workflow won't push to the Docker registry when a release is cut because releases now include a pull request.

This pull request increases the number of conditions under which a Docker image can be pushed.

Closes https://github.com/lycheeverse/lychee/issues/1432.

eread commented 6 days ago

@mre Could you review? Do you know if this will work as I've updated it here?

Otherwise, it might be possible in a separate step to include the new logic, and set an environment variable to true and then use that environment variable as the value of push.

WDYT?