Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10ed6108b4 | ||
|
|
4c1258305b | ||
|
|
299d5dbfad | ||
|
|
259c67da7c | ||
|
|
b9067da569 | ||
|
|
334846fe11 | ||
|
|
388ec9816a | ||
|
|
70affd5187 | ||
|
|
5817dc0a7f | ||
|
|
bc864a7515 | ||
|
|
ce463fb0cd | ||
|
|
729b0d6985 |
+1
-1
@@ -16,7 +16,7 @@ RUN apt-get update && \
|
|||||||
npm install -g --no-fund --no-audit --ignore-scripts n2-soul@9.0.9 && \
|
npm install -g --no-fund --no-audit --ignore-scripts n2-soul@9.0.9 && \
|
||||||
npm install -g --no-fund --no-audit --allow-scripts=better-sqlite3 better-sqlite3@12.11.1 && \
|
npm install -g --no-fund --no-audit --allow-scripts=better-sqlite3 better-sqlite3@12.11.1 && \
|
||||||
rm -rf /usr/local/lib/node_modules/n2-soul/node_modules/better-sqlite3 && \
|
rm -rf /usr/local/lib/node_modules/n2-soul/node_modules/better-sqlite3 && \
|
||||||
npm install -g --no-fund --no-audit --allow-scripts=opencode-ai opencode-ai@1.18.21 && \
|
npm install -g --no-fund --no-audit --allow-scripts=opencode-ai opencode-ai@1.18.26 && \
|
||||||
npm cache clean --force && \
|
npm cache clean --force && \
|
||||||
chown -R 1000:1000 /usr/local/lib/node_modules/n2-soul/
|
chown -R 1000:1000 /usr/local/lib/node_modules/n2-soul/
|
||||||
|
|
||||||
|
|||||||
Vendored
-38
@@ -1,38 +0,0 @@
|
|||||||
pipeline {
|
|
||||||
environment {
|
|
||||||
registry = 'https://registry.hub.docker.com'
|
|
||||||
registryCredential = 'dockerhub_jcabillot'
|
|
||||||
dockerImage = 'jcabillot/opencode'
|
|
||||||
}
|
|
||||||
|
|
||||||
agent any
|
|
||||||
|
|
||||||
triggers {
|
|
||||||
cron('@midnight')
|
|
||||||
}
|
|
||||||
|
|
||||||
stages {
|
|
||||||
stage('Clone repository') {
|
|
||||||
steps{
|
|
||||||
checkout scm
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Build image') {
|
|
||||||
steps{
|
|
||||||
sh 'docker build --force-rm=true --no-cache=true --pull -t ${dockerImage} .'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Deploy Image') {
|
|
||||||
steps{
|
|
||||||
script {
|
|
||||||
withCredentials([usernamePassword(credentialsId: 'dockerhub_jcabillot', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]) {
|
|
||||||
sh 'docker login --username ${DOCKER_USER} --password ${DOCKER_PASS}'
|
|
||||||
sh 'docker push ${dockerImage}'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user