summaryrefslogtreecommitdiffstats
path: root/src/config/container_config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/container_config.rs')
-rw-r--r--src/config/container_config.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config/container_config.rs b/src/config/container_config.rs
index f117351..36cfe1a 100644
--- a/src/config/container_config.rs
+++ b/src/config/container_config.rs
@@ -24,4 +24,13 @@ pub struct ContainerConfig {
/// Allowed environment variables (names)
#[getset(get = "pub")]
allowed_env: Vec<EnvironmentVariableName>,
+
+ /// Pass the current git author to the container
+ /// This can be used to the the "packager" name in a package, for example
+ #[getset(get = "pub")]
+ git_author: Option<EnvironmentVariableName>,
+
+ /// Pass the current git hash to the container
+ #[getset(get = "pub")]
+ git_commit_hash: Option<EnvironmentVariableName>,
}