Преглед изворни кода

Merge pull request #2575 from mattray/v1.109_version_commit

Add version and commit for logging to v1.109 branch
Matt Ray пре 2 година
родитељ
комит
dc86a1b2e5
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      Dockerfile.cross

+ 3 - 0
Dockerfile.cross

@@ -1,5 +1,8 @@
 FROM alpine:latest
 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.description="Cross-cloud cost allocation models for Kubernetes workloads"
 LABEL org.opencontainers.image.documentation=https://opencost.io/docs/
 LABEL org.opencontainers.image.documentation=https://opencost.io/docs/
 LABEL org.opencontainers.image.licenses=Apache-2.0
 LABEL org.opencontainers.image.licenses=Apache-2.0