Răsfoiți Sursa

Add version and commit for logging

Signed-off-by: Matt Ray <github@mattray.dev>
Matt Ray 2 ani în urmă
părinte
comite
25a65e9d25
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  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