Skip to content

fix(ci): make Docker Hub push optional in release workflow#111

Merged
jorge07 merged 1 commit intojorge07:masterfrom
josecarlospeer-cloud:fix/release-workflow-optional-push
Feb 22, 2026
Merged

fix(ci): make Docker Hub push optional in release workflow#111
jorge07 merged 1 commit intojorge07:masterfrom
josecarlospeer-cloud:fix/release-workflow-optional-push

Conversation

@josecarlospeer-cloud
Copy link
Contributor

Forks running this workflow fail immediately at the Docker Hub login step when REGISTRY_USERNAME/REGISTRY_PASSWORD secrets are not set.

Applies the same pattern already used in pr.yaml:

  • Login step only runs when REGISTRY_USERNAME secret is present
  • When secrets are available: build + push (make release, existing behaviour)
  • When secrets are absent: build only (make build), so CI still validates the Dockerfiles on forks

No behaviour change for the main repo.

@jorge07 jorge07 merged commit b7ac062 into jorge07:master Feb 22, 2026
4 checks passed
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.

2 participants