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

Fix dockerfile #119

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Fix dockerfile #119

merged 2 commits into from
Oct 29, 2024

Conversation

joschrew
Copy link
Contributor

In addition to fixes for making the image creation actually work, I added some labels according to this: OCR-D/ocrd_kraken#45.

@codecov-commenter
Copy link

codecov-commenter commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.50%. Comparing base (d9cde1f) to head (37df6d8).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #119   +/-   ##
=======================================
  Coverage   69.50%   69.50%           
=======================================
  Files           5        5           
  Lines         223      223           
  Branches       57       51    -6     
=======================================
  Hits          155      155           
- Misses         53       54    +1     
+ Partials       15       14    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@bertsky bertsky left a comment

Choose a reason for hiding this comment

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

Thanks!

We could really use a CD, too. Example via GHA: ocrd_kraken, example via CircleCI: ocrd_cis

Dockerfile Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
@joschrew
Copy link
Contributor Author

I added a CD for pushing the image, used ocrd_kraken-CD as template. Secrets for dockerhub are currently missing

@bertsky
Copy link
Contributor

bertsky commented Oct 28, 2024

I added a CD for pushing the image, used ocrd_kraken-CD as template. Secrets for dockerhub are currently missing

Fantastic!

@kba?

@mikegerber
Copy link
Collaborator

LGTM

What convention do you currently use for the Docker tags? latest is commonly used elsewhere for the latest stable version, but this seems to be using latest for master?

Copy link
Collaborator

@mikegerber mikegerber left a comment

Choose a reason for hiding this comment

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

LGTM

@joschrew
Copy link
Contributor Author

joschrew commented Oct 29, 2024

Thank you!

What convention do you currently use for the Docker tags?

I don't know if we follow any convention other then simply using latest when pushing newer images. But maybe @bertsky knows more?

Copy link
Member

@kba kba left a comment

Choose a reason for hiding this comment

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

LGTM. DOCKERIO_{PASSWORD,USERNAME} are set, let's see whether CD works 🤞

@mikegerber mikegerber merged commit d7c30b5 into master Oct 29, 2024
1 check passed
@mikegerber
Copy link
Collaborator

Merged. I'll check the build and open new issues if necessary.

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.

5 participants