Compare commits

...

6 Commits

Author SHA1 Message Date
renovate-bot
9930968ef8 Update dependency express-validator to v6.14.0
Some checks reported errors
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build was killed
2021-12-13 14:18:10 +00:00
8bd05c5051 Update 'Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-13 15:08:12 +01:00
3185e121ac Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-12-13 15:02:26 +01:00
b0c8f76348 Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-12-13 15:00:41 +01:00
debf822424 Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-12-13 15:00:06 +01:00
ae9917dd6b Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-12-13 14:58:43 +01:00
3 changed files with 22 additions and 2 deletions

View File

@ -2,6 +2,22 @@ name: Build Docker
kind: pipeline kind: pipeline
type: docker type: docker
steps: steps:
- name: Only build image
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: harbor.sebclem.fr/sebclem/cnc-speed-calculator
registry: harbor.sebclem.fr
tags: latest
when:
branch:
exclude:
- main
- name: Build and Push docker - name: Build and Push docker
image: plugins/docker image: plugins/docker
settings: settings:
@ -12,6 +28,10 @@ steps:
repo: harbor.sebclem.fr/sebclem/cnc-speed-calculator repo: harbor.sebclem.fr/sebclem/cnc-speed-calculator
registry: harbor.sebclem.fr registry: harbor.sebclem.fr
tags: latest tags: latest
when:
branch:
- main
trigger: trigger:
event: event:

View File

@ -1,4 +1,4 @@
FROM node:17 FROM node:17-alpine
# Create app directory # Create app directory
WORKDIR /usr/src/app WORKDIR /usr/src/app

View File

@ -17,7 +17,7 @@
"ejs": "3.1.6", "ejs": "3.1.6",
"express": "4.17.1", "express": "4.17.1",
"express-session": "1.17.2", "express-session": "1.17.2",
"express-validator": "6.13.0", "express-validator": "6.14.0",
"express-winston": "4.2.0", "express-winston": "4.2.0",
"http-errors": "1.8.1", "http-errors": "1.8.1",
"i18n": "0.13.3", "i18n": "0.13.3",