Generally, there are two special image tags (qaas:development
and qaas:production
).
qaas:development
: Most recent image under developmentqaas:production
: Stable production image to be used by general users. By defaultbuild-local-image.sh
builds local image using this image.
We also require all images to be tagged with some name meaningful to QaaS image development.
qaas:
other-tag : other-tag should provide some idea what the image is about.
Following are some regular steps in container image development
- Build updated image (as
qaas:development
)- Update
Dockerfile
./build-image.sh
- new image created locally but not pushed to Git Lab yet
- Update
- Push development image to Git Lab
./push-image.sh
tag-name- Git Lab will receive the
qaas:development
image and also tagged it asqaas:
tag-name
- Tag an image as production image (
qaas:production
)./tag-production-image.sh
[ tag-name ]- tag-name is optional.
- if provided, tag
qaas:
tag-name asqaas:production
image - if not provided, tag
qaas:development
asqaas:production
- if provided, tag