Przeglądaj źródła

Merge pull request #2571 from mattray/version_commit

Add version and commit for logging
Matt Ray 2 lat temu
rodzic
commit
54be1b0385
1 zmienionych plików z 3 dodań i 0 usunięć
  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