Skip to content
Snippets Groups Projects
Commit cd961180 authored by OZGCloud's avatar OZGCloud
Browse files

ozg-6277 caddyfile

parent 1bbce025
No related branches found
No related tags found
No related merge requests found
...@@ -94,6 +94,9 @@ pipeline { ...@@ -94,6 +94,9 @@ pipeline {
sh 'npm run ci-build-alfa-client-container' sh 'npm run ci-build-alfa-client-container'
withCredentials([usernamePassword(credentialsId: 'jenkins-nexus-login', usernameVariable: 'USER', passwordVariable: 'PASSWORD')]) {
sh 'docker login docker.ozg-sh.de -u ${USER} -p ${PASSWORD}'
sh "docker tag docker.ozg-sh.de/alfa-client:build-latest docker.ozg-sh.de/alfa-client:${IMAGE_TAG}" sh "docker tag docker.ozg-sh.de/alfa-client:build-latest docker.ozg-sh.de/alfa-client:${IMAGE_TAG}"
sh "docker push docker.ozg-sh.de/alfa-client:${IMAGE_TAG}" sh "docker push docker.ozg-sh.de/alfa-client:${IMAGE_TAG}"
} }
...@@ -101,6 +104,7 @@ pipeline { ...@@ -101,6 +104,7 @@ pipeline {
} }
} }
} }
}
stage('Set Version') { stage('Set Version') {
when { when {
......
:8080 { :8080 {
file_server file_server
root * /usr/share/caddy root * /usr/share/caddy
}
:8081 { try_files {path} /index.html
respond "Hello, world! Test"
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment