Files
CDN-APP-INSIDER/.drone.yml
Dinawo 51d11a6c36
Some checks failed
continuous-integration/drone/push Build is failing
Update v1.1.0-beta.1
2024-12-21 18:16:25 +01:00

25 lines
620 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
- echo "VERSION=$(node -e "console.log(require('./package.json').version)")" >> .env
- cat .env >> .tags
- name: build-docker-image
image: plugins/docker
settings:
repo: swiftlogiclabs/cdn-app-insider
tags_file: .tags
dockerfile: Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password