Compare commits
6 Commits
26da8b4e71
...
48e19b5c57
Author | SHA1 | Date | |
---|---|---|---|
|
48e19b5c57 | ||
8bd05c5051 | |||
3185e121ac | |||
b0c8f76348 | |||
debf822424 | |||
ae9917dd6b |
20
.drone.yml
20
.drone.yml
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user