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

Adjust docker labels to modern OCI schema #7773

Merged
merged 16 commits into from
Aug 11, 2024

Conversation

matmair
Copy link
Member

@matmair matmair commented Jul 30, 2024

This PR:

  • switches the labels to the new opencontainers label schema
  • makes the CI for docker a bit more robust

@matmair matmair added CI CI / unit testing ecosystem docker Docker / docker-compose labels Jul 30, 2024
@matmair matmair self-assigned this Jul 30, 2024
Copy link

netlify bot commented Jul 30, 2024

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit 9d5b7c4
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/66b62595cbe34d0008a9beb4
😎 Deploy Preview https://deploy-preview-7773--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99 (🔴 down 1 from production)
Accessibility: 86 (no change from production)
Best Practices: 92 (no change from production)
SEO: 70 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@matmair matmair marked this pull request as ready for review July 30, 2024 23:02
@matmair
Copy link
Member Author

matmair commented Jul 30, 2024

This is probably better to be merged after the 0.16.0 release - not needed immediately

@SchrodingersGat SchrodingersGat added this to the 0.17.0 milestone Jul 31, 2024
@matmair
Copy link
Member Author

matmair commented Aug 9, 2024

This is ready for review

@@ -11,6 +11,7 @@

ARG base_image=python:3.11-alpine3.18
FROM ${base_image} AS inventree_base
ARG base_image
Copy link
Member

Choose a reason for hiding this comment

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

Why hvae you added a blank base_image arg here? Won't this null out the default value?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, it is a redefinition to carry the value over to this step from the previous one as ARGs are scoped per step. So the value as was definied in the previous step will be used.
https://docs.docker.com/reference/dockerfile/#scope

@SchrodingersGat SchrodingersGat merged commit 41f6dd6 into inventree:master Aug 11, 2024
22 checks passed
@SchrodingersGat SchrodingersGat deleted the oci-labels branch August 11, 2024 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI CI / unit testing ecosystem docker Docker / docker-compose
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants