https://github.com/opendevstack/ods-docker-images
Create docker images needed in pipelines
https://github.com/opendevstack/ods-docker-images
Last synced: 9 months ago
JSON representation
Create docker images needed in pipelines
- Host: GitHub
- URL: https://github.com/opendevstack/ods-docker-images
- Owner: opendevstack
- License: apache-2.0
- Created: 2022-03-30T09:57:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-12T14:26:35.000Z (over 3 years ago)
- Last Synced: 2025-01-25T00:20:11.805Z (11 months ago)
- Language: Shell
- Size: 120 KB
- Stars: 0
- Watchers: 8
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ods-docker-images
Create docker images needed in pipelines and publish them in Docker Hub.
# Modules
Every subfolder of the root project is a module that will generate X Docker images in [DockerHub](https://hub.docker.com/u/opendevstackorg)
# Versioning
Following the [Semantic Versioning](https://semver.org/). We have two options:
- Create a version of the entire project / Tag the 'entire' project
- Create a version of a module / Tag 'only' a 'module'
# Publish images to DockerHub
Once a TAG is pushed, a [GitHub action](https://github.com/opendevstack/ods-docker-images/actions) is executed if the tag matches a regular expression:
- "v[0-9]+.[0-9]+.[0-9]+" ==> this will __PUBLISH__ a new Docker image for all modules.
- "v[0-9]+.[0-9]+.[0-9]+-moduleName.*" ==> this will __PUBLISH__ a new Docker image for the "moduleName".
Examples:
- v1.0.0 ==> this will __PUBLISH__ a new Docker image for all modules, with the tags: [v1.0.0, latest]
- v1.0.0-python.1 ==> this will __PUBLISH__ a new Docker image for __"python"__ module, with the tags: [v1.0.0-python.1, latest]
See https://github.com/opendevstack/ods-docker-images/blob/main/.github/workflows/ci-acala.yml as an example of the CI
# PR Pipeline
A PR pipeline (check) will only test the modules with changed files (test = build local docker images)