Files
CDN-APP-INSIDER/.drone.yml
Dinawo 58b57fbb84
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
Update v1.1.1-beta1 2
2025-06-14 22:10:50 +02:00

32 lines
722 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
- |
VERSION=$(node -e "console.log(require('./package.json').version)")
cat > .tags << EOF
${VERSION}
latest
EOF
- name: build-docker-image
image: plugins/docker
settings:
repo: swiftlogiclabs/cdn-app-insider
registry: docker.io
tags_file: .tags
dockerfile: Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password
depends_on:
- build-node