ci: use node v20 and clean up credential usage

This commit is contained in:
Siddarth Kumar 2024-10-02 22:58:56 +05:30
parent 246786a332
commit d5263c0dc5
No known key found for this signature in database
GPG Key ID: 599D10112BF518DB
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM node:18.13.0-alpine
FROM node:20-alpine
WORKDIR /app

8
Jenkinsfile vendored
View File

@ -19,14 +19,18 @@ pipeline {
}
environment {
IMAGE_NAME = ''
IMAGE_NAME = 'statusteam/logos-dashboard'
NEXT_PUBLIC_SITE_URL = "https://${env.JOB_BASE_NAME}"
}
stages {
stage('Build') {
steps {
script {
script { {
image = docker.build(
"${IMAGE_NAME}:${GIT_COMMIT.take(8)}".join(' ')
)
}
}
}
}