Browse Source

Merge pull request #2571 from mattray/version_commit

Add version and commit for logging
Matt Ray 2 years ago
parent
commit
54be1b0385
1 changed files with 3 additions and 0 deletions
  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