Skip to content

ci: Push to DockerHub on branch commits, but only if we have credentials#258

Merged
jbencin merged 1 commit intohirosystems:masterfrom
jbencin:ci/publish-branches-to-dockerhub
Apr 18, 2023
Merged

ci: Push to DockerHub on branch commits, but only if we have credentials#258
jbencin merged 1 commit intohirosystems:masterfrom
jbencin:ci/publish-branches-to-dockerhub

Conversation

@jbencin
Copy link
Copy Markdown
Contributor

@jbencin jbencin commented Apr 18, 2023

Description

Push to DockerHub on branch commits, but only if we have credentials. This will make it easier to develop using clarinet integrate, which by default pulls Subnets from DockerHub

Additional info (benefits, drawbacks, caveats)

This PR reverts a change I made in #214, but only attempts the push to DockerHub if we have credentials, so we won't get CI failures when working in forked repos

@jbencin jbencin force-pushed the ci/publish-branches-to-dockerhub branch from 2a77c85 to 06126f1 Compare April 18, 2023 16:33
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 18, 2023

Codecov Report

Merging #258 (06126f1) into master (a762f8f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #258   +/-   ##
=======================================
  Coverage   93.47%   93.47%           
=======================================
  Files           6        6           
  Lines         337      337           
=======================================
  Hits          315      315           
  Misses         22       22           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Copy Markdown
Contributor

@obycode obycode left a comment

Choose a reason for hiding this comment

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

Seems like that should work. Thanks for looking into this 👍

@jbencin jbencin marked this pull request as ready for review April 18, 2023 17:56
@jbencin jbencin merged commit 33200d8 into hirosystems:master Apr 18, 2023
@jbencin jbencin deleted the ci/publish-branches-to-dockerhub branch April 18, 2023 17:57
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