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

This commit is contained in:
2024-05-08 13:30:44 +02:00
parent bb45e5d131
commit 45e5055916

View File

@@ -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