Refactor .drone.yml to update pipeline name and use the 'build' step instead of 'build-node', and update the Docker plugin settings to use the new registry and repository.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -1,8 +1,8 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: build-and-deploy
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build-node
|
||||||
image: node:latest
|
image: node:latest
|
||||||
environment:
|
environment:
|
||||||
USERNAME:
|
USERNAME:
|
||||||
@@ -13,13 +13,13 @@ steps:
|
|||||||
- npm install
|
- npm install
|
||||||
- node -v
|
- node -v
|
||||||
|
|
||||||
- name: docker
|
- name: build-docker-image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
registry: git.dinawo.fr
|
repo: swiftlogiclabs/cdn-app-insider
|
||||||
repo: git.dinawo.fr/Dinawo/cdn-app-insider
|
|
||||||
tags: latest
|
tags: latest
|
||||||
|
dockerfile: Dockerfile
|
||||||
username:
|
username:
|
||||||
from_secret: git_username
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: git_password
|
from_secret: docker_password
|
||||||
Reference in New Issue
Block a user