Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github: push charon to official docker hub registry #782

Merged
merged 3 commits into from
Jul 12, 2022

Conversation

OisinKyne
Copy link
Contributor

Pushes the charon image to docker hub after ghcr. Needs to be tested by being merged. Potentially we don't want to send dev builds here too and might want to split this to only run on tags not commits to main.

category: misc
ticket: #781

@codecov
Copy link

codecov bot commented Jul 10, 2022

Codecov Report

Merging #782 (8516df0) into main (798cba9) will increase coverage by 0.39%.
The diff coverage is n/a.

❗ Current head 8516df0 differs from pull request most recent head a461557. Consider uploading reports for the commit a461557 to get more accurate results

@@            Coverage Diff             @@
##             main     #782      +/-   ##
==========================================
+ Coverage   54.11%   54.50%   +0.39%     
==========================================
  Files         109      109              
  Lines       10667    10667              
==========================================
+ Hits         5772     5814      +42     
+ Misses       4033     3991      -42     
  Partials      862      862              
Impacted Files Coverage Δ
core/leadercast/transport.go 75.14% <0.00%> (-1.19%) ⬇️
app/app.go 55.80% <0.00%> (-1.02%) ⬇️
core/qbft/qbft.go 81.97% <0.00%> (+10.30%) ⬆️

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 798cba9...a461557. Read the comment docs.

@OisinKyne OisinKyne changed the title Push charon to official docker hub registry .github: Push charon to official docker hub registry Jul 10, 2022
@OisinKyne OisinKyne changed the title .github: Push charon to official docker hub registry github: Push charon to official docker hub registry Jul 10, 2022
@OisinKyne OisinKyne changed the title github: Push charon to official docker hub registry github: push charon to official docker hub registry Jul 10, 2022
Copy link
Contributor

@corverroos corverroos left a comment

Choose a reason for hiding this comment

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

Does this build once for each target repository? It would be great if the binaries are built once and then pushed to the different targets...

Comment on lines 61 to 67
- uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
build-args: GITHUB_SHA=${{ github.sha }}
tags: ${{ steps.meta.outputs.tags }}
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems like multiple registries are supported by docker/build-push-action, so can remove this section and just move dockerhub login up next to ghcr login.

@corverroos corverroos added the merge when ready Indicates bulldozer bot may merge when all checks pass label Jul 12, 2022
@obol-bulldozer obol-bulldozer bot merged commit 72cce10 into main Jul 12, 2022
@obol-bulldozer obol-bulldozer bot deleted the oisin/dockerhub branch July 12, 2022 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants