Compare commits
1 Commits
9930968ef8
...
e3ae0ebbdb
Author | SHA1 | Date | |
---|---|---|---|
|
e3ae0ebbdb |
20
.drone.yml
20
.drone.yml
@ -2,22 +2,6 @@ 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:
|
||||||
@ -28,10 +12,6 @@ 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:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM node:17-alpine
|
FROM node:17
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
12
package-lock.json
generated
12
package-lock.json
generated
@ -656,18 +656,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/express-validator": {
|
|
||||||
"version": "6.13.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/express-validator/-/express-validator-6.13.0.tgz",
|
|
||||||
"integrity": "sha512-gvLqMFPwEm+C1CQlF3l695ubY1Shd3AtfI5JDYXM0Ju0A2GsGX+VjjQN7TcHXF6cO8wPgU8hSSFqWecBR0Gx1g==",
|
|
||||||
"dependencies": {
|
|
||||||
"lodash": "^4.17.21",
|
|
||||||
"validator": "^13.6.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 8.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/express-winston": {
|
"node_modules/express-winston": {
|
||||||
"version": "4.2.0",
|
"version": "4.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/express-winston/-/express-winston-4.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/express-winston/-/express-winston-4.2.0.tgz",
|
||||||
|
Loading…
Reference in New Issue
Block a user