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