Skip to content

Add Dockerfile and publish docker image - #4

Merged
keshav-space merged 5 commits into
aboutcode-org:mainfrom
ziadhany:docker-file
Sep 16, 2026
Merged

keshav-space merged 5 commits into
aboutcode-org:mainfrom
ziadhany:docker-file

Conversation

@ziadhany

@ziadhany ziadhany commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Add Docker support for healthycode and publish the Docker image to the GitHub Container Registry

@canasdiaz

Copy link
Copy Markdown
Collaborator

I'm late with this review @ziadhany . I will give you feedback shortly

Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Shriprasad-P

This comment was marked as spam.

@keshav-space keshav-space left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ziadhany workflow for publishing docker image is not correct.

Comment thread Dockerfile
Comment thread .github/workflows/publish-docker-image.yml Outdated
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
@ziadhany ziadhany changed the title Add Dockerfile Add Dockerfile and publish docker image Sep 15, 2026

@keshav-space keshav-space left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @ziadhany, see some suggestions below.

Comment thread .github/workflows/publish-docker-image.yml
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

@keshav-space keshav-space Sep 16, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also, auto generated OCI labels/annotations won’t be able to accurately capture the license, description, and title.

Suggested change
labels: |
org.opencontainers.image.title=HealthyCode
org.opencontainers.image.description=Client to generate GrimoireLab metrics for Project Health using the software analytics platform GrimoireLab
org.opencontainers.image.licenses=GPL-3.0-only
annotations: |
org.opencontainers.image.title=HealthyCode
org.opencontainers.image.description=Client to generate GrimoireLab metrics for Project Health using the software analytics platform GrimoireLab
org.opencontainers.image.licenses=GPL-3.0-only

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The license should be GPL-3.0-or-later, I think. https://github.com/aboutcode-org/healthycode/blob/main/pyproject.toml#L9

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Well, license is ambiguous.

image image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think the license specifies:

either version 3 of the License, or
    (at your option) any later version.

https://github.com/aboutcode-org/healthycode/tree/main?tab=GPL-3.0-1-ov-file

Comment thread .github/workflows/publish-docker-image.yml Outdated
Update Docker image description

Signed-off-by: ziad hany <ziadhany2016@gmail.com>

@keshav-space keshav-space left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @ziadhany, LGTM!
Just confirm the license once.

Signed-off-by: ziad hany <ziadhany2016@gmail.com>
@keshav-space
keshav-space merged commit dfabf2b into aboutcode-org:main Sep 16, 2026
3 of 8 checks passed
@ziadhany
ziadhany deleted the docker-file branch September 16, 2026 17:31
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