Compare commits
1 Commits
48e19b5c57
...
26da8b4e71
Author | SHA1 | Date | |
---|---|---|---|
|
26da8b4e71 |
20
.drone.yml
20
.drone.yml
@ -2,22 +2,6 @@ name: Build Docker
|
||||
kind: pipeline
|
||||
type: docker
|
||||
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
|
||||
image: plugins/docker
|
||||
settings:
|
||||
@ -28,10 +12,6 @@ steps:
|
||||
repo: harbor.sebclem.fr/sebclem/cnc-speed-calculator
|
||||
registry: harbor.sebclem.fr
|
||||
tags: latest
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM node:17-alpine
|
||||
FROM node:17
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /usr/src/app
|
||||
|
Loading…
Reference in New Issue
Block a user