Files
CDN-APP-INSIDER/.drone.yml
Dinawo 58c45cfadb
Some checks failed
continuous-integration/drone/push Build is failing
Update secrets and Docker registry in .drone.yml
2024-03-28 20:45:59 +01:00

25 lines
542 B
YAML

kind: pipeline
name: build-and-deploy
steps:
- name: build
image: node:latest
environment:
USERNAME:
from_secret: docker_username
PASSWORD:
from_secret: docker_password
commands:
- npm install
- node -v
- name: create-docker-image-insider
image: plugins/docker
settings:
registry: hub.docker.com
repo: hub.docker.com/dinawo/cdn-app-insider
tags: latest
username:
from_secret: docker_username
password:
from_secret: docker_password