Files
CDN-APP-INSIDER/.drone.yml
Dinawo f7658eca22
All checks were successful
continuous-integration/drone Build is passing
V1.0.0-beta.17 Update 2
2024-12-15 00:49:12 +01:00

25 lines
611 B
YAML

kind: pipeline
name: default
steps:
- name: build-node
image: node:latest
environment:
USERNAME:
from_secret: git_username
PASSWORD:
from_secret: git_password
commands:
- npm install
- export VERSION=$(node -e "console.log(require('./package.json').version)")
- name: build-docker-image
image: plugins/docker
settings:
repo: swiftlogiclabs/cdn-app-insider
tags:
- latest
- v${VERSION}
dockerfile: Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password