Skip to main content

TRG 4.05 - Container registries

StatusCreatedPost-History
Active20-Mar-2024Remove example workflow and refer to TRG 4.01
Active04-May-2023Place DockerHub as mandatory container registry; remove GHCR references
Active05-Jan-2023Initial release
Draft14-Sept-2022n/a

Why

Using a central container registry greatly improves security and manageability of images. It also makes it easier for external parties to validate that images are correct if they are coming from the same source.

Description

In Eclipse Tractus-X we are using one central container registry. This registry ist tractusx on DockerHub.

All container images released for an Eclipse Tractus-X product must be present on DockerHub. Also be aware of the necessary remarks for container images described in TRG 4-06 and alignment on common base images described in TRG 4.02.

Implementation

The example from TRG 4.01 shows a simple workflow, that can be used to publish your Docker image(s) to DockerHub. It is using secrets, that contain credentials to authenticate at DockerHub. These secrets are present at GitHub organization level and can therefore be used in any repository in our org.