Skip to content

[FUN-804] 🤞 fix release to dockerhub#555

Merged
mike-zorn merged 5 commits intomainfrom
FUN-804/mrz/release-new-ldcli
Jun 5, 2025
Merged

[FUN-804] 🤞 fix release to dockerhub#555
mike-zorn merged 5 commits intomainfrom
FUN-804/mrz/release-new-ldcli

Conversation

@mike-zorn
Copy link
Copy Markdown

@mike-zorn mike-zorn commented Jun 5, 2025

This should fix two things

  • Broken publishes to npm (remove spurious always() conditions)
  • Dockerhub publish failures (log in to docker on the goreleaser container)

Related Jira issue: FUN-804: Release new ldcli

Mike Zorn added 4 commits June 3, 2025 15:43
Apparently this skips the dependency checks, so we were creating broken
npm publishes
@mike-zorn mike-zorn requested review from BehnH and Copilot June 5, 2025 17:58
@launchdarkly-upra launchdarkly-upra Bot changed the title 🤞 fix release to dockerhub [FUN-804] 🤞 fix release to dockerhub Jun 5, 2025
Copy link
Copy Markdown

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

This PR removes unnecessary always() conditions to restore proper publish triggers and adds an in-container Docker login step to fix Docker Hub publish failures.

  • Remove spurious always() wrappers from release conditionals
  • Add docker login inside the goreleaser container
  • Clean up unused Docker logout and env-pass steps

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/release-please.yml Dropped always() from two if: expressions
.github/actions/publish/action.yml Injected docker login into the running container; removed logout and direct env-pass flags

Comment thread .github/actions/publish/action.yml Outdated
Comment thread .github/actions/publish/action.yml Outdated
Copy link
Copy Markdown
Member

@BehnH BehnH left a comment

Choose a reason for hiding this comment

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

🤞🏻

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mike-zorn mike-zorn merged commit aec67c4 into main Jun 5, 2025
5 of 7 checks passed
@mike-zorn mike-zorn deleted the FUN-804/mrz/release-new-ldcli branch June 5, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants