From 888b45c91908e55aee02ba915ed1de4126da5aed Mon Sep 17 00:00:00 2001 From: JustArchi Date: Fri, 15 Jul 2022 21:33:28 +0200 Subject: [PATCH] Include commit hash for docker builds of ASF-ui Originally spotted at https://github.com/JustArchiNET/ASF-ui/issues/1589 --- .dockerignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 14f414faf..e7946edb4 100644 --- a/.dockerignore +++ b/.dockerignore @@ -22,7 +22,6 @@ ArchiSteamFarm/logs # /_/ \_\____/|_| |____/ \___/ \___|_|\_\___|_| # Additional folders that aren't used during image building: - **/.git* **/[Bb]in/ **/[Oo]bj/ @@ -31,6 +30,9 @@ ArchiSteamFarm.CustomPlugins.* ASF-ui/dist wiki +# Add exception for .git used in ASF-ui, it's used for calculating commit hash during build +!ASF-ui/.git + # _ _ # | | (_) _ __ _ _ __ __ # | | | || '_ \ | | | |\ \/ /