Assortment of docker utility containers for use in MobileCoin GHA workflows.
- Create a directory in the root of the repo with the name of the image you want to build.
- Place a
Dockerfile
in the directory. - Add any additional support files, scripts you need.
- Add a entry in the
.github/workflows/build-and-publish.yaml
image
matrix matching the name of the directory.
The GHA automation will use the image directory for docker build context.
- PR changes to
main
- Merge changes to
main
after approvals. - On merge to main GHA will automatically create a series for semver git tags bumping the
patch
by default (v1
,v1.0
,v1.0.0
). - On
v*.*.*
tag GHA will automatically create a GH Release with automatic release notes. - On
v*.*.*
tag GHA will automatically build docker images with the semver series of tags (v1
,v1.0
,v1.0.0
).
Add #major
, #minor
to the commit message to create major/minor releases.