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
|
||||
name: build-and-deploy
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: build-node
|
||||
image: node:latest
|
||||
environment:
|
||||
USERNAME:
|
||||
@@ -13,13 +13,13 @@ steps:
|
||||
- npm install
|
||||
- node -v
|
||||
|
||||
- name: docker
|
||||
- name: build-docker-image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.dinawo.fr
|
||||
repo: git.dinawo.fr/Dinawo/cdn-app-insider
|
||||
repo: swiftlogiclabs/cdn-app-insider
|
||||
tags: latest
|
||||
dockerfile: Dockerfile
|
||||
username:
|
||||
from_secret: git_username
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: git_password
|
||||
from_secret: docker_password
|
||||
Reference in New Issue
Block a user