mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Fix CI pipeline
This commit is contained in:
parent
dba7f964d2
commit
4bb63fcf8d
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -12,23 +12,23 @@ pipeline {
|
||||
stages {
|
||||
stage('Prepare') {
|
||||
steps {
|
||||
sh '''docker pull ${DOCKER_PRIVATE_REGISTRY}/nginx-proxy-manager-base
|
||||
sh '''docker pull jc21/nginx-proxy-manager-base
|
||||
docker pull ${DOCKER_CI_TOOLS}'''
|
||||
|
||||
sh '''CWD=`pwd`
|
||||
docker run --rm \\
|
||||
-v $CWD/manager:/srv/manager \\
|
||||
-w /srv/manager \\
|
||||
${DOCKER_PRIVATE_REGISTRY}/nginx-proxy-manager-base \\
|
||||
jc21/nginx-proxy-manager-base \\
|
||||
npm --registry=$NPM_REGISTRY install
|
||||
exit $?'''
|
||||
|
||||
sh '''CWD=`pwd`
|
||||
docker run --rm -v $CWD/manager:/srv/manager -w /srv/manager ${DOCKER_PRIVATE_REGISTRY}/nginx-proxy-manager-base gulp build
|
||||
docker run --rm -v $CWD/manager:/srv/manager -w /srv/manager jc21/nginx-proxy-manager-base gulp build
|
||||
exit $?'''
|
||||
|
||||
sh '''CWD=`pwd`
|
||||
docker run --rm -e NODE_ENV=production -v $CWD/manager:/srv/manager -w /srv/manager ${DOCKER_PRIVATE_REGISTRY}/nginx-proxy-manager-base npm prune --production
|
||||
docker run --rm -e NODE_ENV=production -v $CWD/manager:/srv/manager -w /srv/manager jc21/nginx-proxy-manager-base npm prune --production
|
||||
exit $?'''
|
||||
|
||||
sh '''docker run --rm \\
|
||||
|
Loading…
Reference in New Issue
Block a user