feat: replace date tag with git commit SHA and add version tag
Build / build (pull_request) Successful in 15m30s
Build / build (pull_request) Successful in 15m30s
Replace date-based Docker tags with git commit SHA and version from version file. This improves traceability by linking images to specific commits and versions.
This commit is contained in:
@@ -64,7 +64,7 @@ build {
|
||||
post-processors {
|
||||
post-processor "docker-tag" {
|
||||
repository = "${var.docker_server}/unkin/${var.os_name}${var.os_version_major}-${var.os_image}"
|
||||
tags = ["latest", var.date]
|
||||
tags = ["latest", var.git_commit, var.version]
|
||||
}
|
||||
|
||||
dynamic "post-processor" {
|
||||
|
||||
Reference in New Issue
Block a user