klo2k / nexus3-docker

ARM Docker image of Sonatype Nexus Repository Manager (NXRM) (Raspberry Pis - armv7l, aarch64)
GNU General Public License v3.0
109 stars 39 forks source link

Docker Image: Inject git commit ID during build for better traceability #6

Closed klo2k closed 3 years ago

klo2k commented 3 years ago

For better traceability between deployment and code, we inject commit ID during build.

Commit ID is stored as label 'org.opencontainers.image.revision', and injected during GitHub workflow build via '--build-arg GIT_COMMIT=...'.