Skip to main content

One post tagged with "database"

View All Tags

Container Repository Per Environment for Database Images

· One min read
Skpr Platform Team
Platform Engineering

Overview

Database images are now packaged and pushed to a dedicated repository for each environment.

This update enables us to securely manage database images by restricting them to their respective environments.

Developers are required to update their database image references.

How to update

Before

xxxxxxxxx.dkr.ecr.ap-southeast-2.amazonaws.com/skpr-example-project/mysql:dev-default-latest

After

xxxxxxxxx.dkr.ecr.ap-southeast-2.amazonaws.com/skpr-example-project/mysql/dev:default-latest

Note that mysql:dev-default-latest became mysql/dev:default-latest in the example above.

What do I update?

The database image is typically referenced in:

  • Docker Compose
  • CI/CD configuration (CircleCI/GitHub Actions)