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:
@@ -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>
|
||||
|
||||
@@ -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'
|
||||
)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user