feat: Add Release to Docker Hub GitHub Action

Implemented Docker Release action with GitHub workflows
and added release versioning with docker build args

Signed-off-by: Abhinav Sinha <[email protected]>
This commit is contained in:
Abhinav Sinha
2026-05-30 23:08:48 +05:30
parent c26c0122ce
commit e999a8a857
4 changed files with 193 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export default function Header({ clusterReady }) {
<div className={styles.logo}>
<img src="/logo.svg" alt="KubeKosh Logo" className={styles.logoImage} />
<span className={styles.logoText}>KubeKosh</span>
<span className={styles.version}>v0.1.0</span>
<span className={styles.version}>{import.meta.env.VITE_APP_VERSION}</span>
</div>
<span className={styles.tagline}>Interactive Kubernetes Playground</span>
</div>
+6
View File
@@ -10,5 +10,11 @@ export default defineConfig({
},
build: {
outDir: 'dist'
},
define: {
// Fallback to 'dev' when VITE_APP_VERSION is not injected at build time
'import.meta.env.VITE_APP_VERSION': JSON.stringify(
process.env.VITE_APP_VERSION || 'dev'
)
}
})