mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-18 18:05:28 +01:00
Add app version
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -1,7 +1,7 @@
|
||||
def forgejoImage
|
||||
def ghcrImage
|
||||
//jenkins needs entrypoint of the image to be empty
|
||||
// def runArgs = '--entrypoint \'\''
|
||||
def APP_VERSION = 0.1.0
|
||||
|
||||
pipeline {
|
||||
agent {
|
||||
label 'linux-x64'
|
||||
@@ -55,9 +55,11 @@ pipeline {
|
||||
if (env.BRANCH_NAME == 'main') {
|
||||
docker.withRegistry('https://git.sysctl.io/', 'gitea-jenkins-pat') {
|
||||
forgejoImage.push("latest")
|
||||
forgejoImage.push(APP_VERSION)
|
||||
}
|
||||
docker.withRegistry('https://ghcr.io/', 'github-ifargle-pat') {
|
||||
ghcrImage.push("latest")
|
||||
ghcrImage.push(APP_VERSION)
|
||||
}
|
||||
} else {
|
||||
docker.withRegistry('https://git.sysctl.io/', 'gitea-jenkins-pat') {
|
||||
|
||||
@@ -22,7 +22,7 @@ app.logger.setLevel(logging.DEBUG)
|
||||
COLOR_NAV = "blue-grey darken-1"
|
||||
COLOR_BTN = "blue-grey darken-3"
|
||||
BASE_PATH = os.environ["BASE_PATH"]
|
||||
APP_VERSION = "2023-02-07.1"
|
||||
APP_VERSION = "0.1.0"
|
||||
HS_VERSION = "0.20.0"
|
||||
DEBUG_STATE = False
|
||||
|
||||
|
||||
@@ -32,9 +32,10 @@
|
||||
<div class="card hoverable">
|
||||
<div class="card-content">
|
||||
<span class="card-title">About</span>
|
||||
<p>This was developed with Flask, Python, MaterializeCSS, and jQuery.</p>
|
||||
<p>Developed with Flask, Python, MaterializeCSS, and jQuery.</p>
|
||||
<p>Version: {{ APP_VERSION }}</p>
|
||||
<p>Tested on Headscale: {{ HS_VERSION }}</p>
|
||||
<p>Tested on Headscale {{ HS_VERSION }}</p>
|
||||
<p>Repository: <a href="https://github.com/iFargle/headscale-webui">Github</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user