Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99c50a0cc3 | ||
|
|
2c22741806 | ||
|
|
ab342272b3 | ||
|
|
efe5f30b92 | ||
|
|
10ed6108b4 | ||
|
|
4c1258305b | ||
|
|
299d5dbfad | ||
|
|
259c67da7c | ||
|
|
b9067da569 | ||
|
|
334846fe11 |
+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 --allow-scripts=better-sqlite3 better-sqlite3@12.11.1 && \
|
||||
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.24 && \
|
||||
npm install -g --no-fund --no-audit --allow-scripts=opencode-ai opencode-ai@1.18.28 && \
|
||||
npm cache clean --force && \
|
||||
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