Add version tags to Docker image & display on frontend

This commit is contained in:
Joel Biddle
2023-10-03 05:55:36 +00:00
parent bd8c17d720
commit 95af82963f
3 changed files with 29 additions and 4 deletions
@@ -21,6 +21,7 @@ import {
faCheck,
faEnvelope,
faInfinity,
faInfo,
faMobile,
faPlus,
faQuestion
@@ -68,6 +69,7 @@ import {
useLogoutUser,
useUploadWsKey
} from "@app/hooks/api";
import { CURRENT_INFISICAL_VERSION } from "@app/version"
interface LayoutProps {
children: React.ReactNode;
@@ -696,6 +698,10 @@ export const AppLayout = ({ children }: LayoutProps) => {
</div>
</button>
)}
<div className="mb-2 w-full pl-5 duration-200 hover:text-mineshaft-200">
<FontAwesomeIcon icon={faInfo} className="mr-4 px-[0.1rem]" />
Current version: {CURRENT_INFISICAL_VERSION}
</div>
</div>
</nav>
</aside>