CCBR / Dockers

A collection of Dockerfiles to facilitate reproducibility across computing environments.
11 stars 3 forks source link

CI workflow to run `buildnpush` script when Docker files change #9

Closed kelly-sovacool closed 1 year ago

kelly-sovacool commented 1 year ago

This could run when a new file matching Dockerfile* is pushed to master. Would need to extract the version number from the path... Or maybe we start using Conventional Commits and use tools to figure out the version automagically?

kopardev commented 1 year ago

I think that was my original plan ... but I generally like to iteratively build-push-test-repeat ... so I have not implemented this CI/CD in practice ... but we sure can.

kelly-sovacool commented 1 year ago

I have a demo of how we could implement this here: https://github.com/CCBR/CRUISE/blob/d42560d20aaab230322a77f1ee05cb7d27f95760/.github/workflows/docker.yml

kelly-sovacool commented 1 year ago

We now have two github actions workflows that run on manual dispatch to build containers that accept different inputs: