瀏覽代碼

Add version and commit for logging

Signed-off-by: Matt Ray <github@mattray.dev>
Matt Ray 2 年之前
父節點
當前提交
25a65e9d25
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Dockerfile.cross

+ 3 - 0
Dockerfile.cross

@@ -1,5 +1,8 @@
 FROM alpine:latest
 
+ARG version=dev
+ARG	commit=HEAD
+
 LABEL org.opencontainers.image.description="Cross-cloud cost allocation models for Kubernetes workloads"
 LABEL org.opencontainers.image.documentation=https://opencost.io/docs/
 LABEL org.opencontainers.image.licenses=Apache-2.0