From 91f6d7adf0d4b7413b42da0b8885d3b6c418e23d Mon Sep 17 00:00:00 2001 From: Nevo David Date: Fri, 27 Jun 2025 01:31:18 +0700 Subject: [PATCH] feat: add version for the build --- .github/workflows/build-containers.yml | 1 + apps/frontend/src/components/launches/launches.component.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build-containers.yml b/.github/workflows/build-containers.yml index ad50f3e8..b19c32aa 100644 --- a/.github/workflows/build-containers.yml +++ b/.github/workflows/build-containers.yml @@ -52,6 +52,7 @@ jobs: - name: Build and Push Image env: CONTAINERVER: ${{ needs.build-containers-common.outputs.containerver }} + VERSION: ${{ github.ref_name }} run: | docker buildx build --platform linux/${{ matrix.arch }} \ -f Dockerfile.dev \ diff --git a/apps/frontend/src/components/launches/launches.component.tsx b/apps/frontend/src/components/launches/launches.component.tsx index 4a6341ce..cd3bcf4b 100644 --- a/apps/frontend/src/components/launches/launches.component.tsx +++ b/apps/frontend/src/components/launches/launches.component.tsx @@ -452,6 +452,9 @@ export const LaunchesComponent = () => { {sortedIntegrations?.length > 0 && user?.tier?.ai && billingEnabled && } +
+ {process.env.VERSION ? `v${process.env.VERSION}` : ''} +