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