Skip to content

Conversation

@nguyer
Copy link
Contributor

@nguyer nguyer commented Oct 25, 2021

This PR adds a new GitHub action to build a docker image for every merge to main, but it is not designated as a "release" on GitHub. This allows us to use and test any commit, but won't clutter up our releases page. The image will be tagged with a date-stamped release number, and the newest build will also be tagged with head. This means if someone wants the latest, bleeding edge build of firefly, the can just pull docker pull ghcr.io/hyperledger/firefly:head and they will get whatever is the latest commit in `main.

The images area also labeled (separate from being tagged) with the Git commit that they were built from, as well as the date and build number.

The manifestgen.sh script also gets an update with this, allowing it to pull the head tag for all services and create a manifest.json with those images. To do this, run:

./manifestgen.sh head

@codecov-commenter
Copy link

Codecov Report

Merging #286 (3b92572) into main (818b5ed) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #286   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          225       225           
  Lines        12406     12406           
=========================================
  Hits         12406     12406           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 818b5ed...3b92572. Read the comment docs.

Copy link
Contributor

@peterbroadhurst peterbroadhurst left a comment

Choose a reason for hiding this comment

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

Great stuff. I'll factor this into what I was doing in #285

@peterbroadhurst peterbroadhurst merged commit 911048b into main Oct 25, 2021
@peterbroadhurst peterbroadhurst deleted the actions branch October 25, 2021 20:07
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.

4 participants