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

CICD automate the publishing to hub.docker.com (to remove developers machines from the mix) #193

Closed
duttonw opened this issue Nov 26, 2024 · 1 comment
Assignees

Comments

@duttonw
Copy link

duttonw commented Nov 26, 2024

To improve supply chain security of the CKAN ecosystem. Can we look at integrating correct tagging on git + auto deployments from github actions into hub.docker.com.

https://docs.github.com/en/actions/use-cases-and-examples/publishing-packages/publishing-docker-images

https://docs.github.com/en/code-security/supply-chain-security/end-to-end-supply-chain/securing-builds#generate-artifact-attestations-for-your-builds
https://en.wikipedia.org/wiki/Supply_chain_attack

@amercader
Copy link
Member

That's precisely what we started doing in the last Docker release.

The new release process includes automatic pushing and tagging of the images to Docker Hub via GitHub actions.

There are also some basic tests performed on each push, that can be expanded to account for scenarios not covered initially, like the one reported in #192: ckan/ckan-docker-base#95

This was done as part of the wider effort to automate various publishing operations in CKAN (ckan/ckan#8143). PyPI publication and Docker images are done, we'll tackle deb packages in the coming weeks.

Let me know if you want to suggest further process improvements.

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

No branches or pull requests

2 participants