Files
CDN-APP-INSIDER/.drone.yml
Dinawo 440cc4b9eb
All checks were successful
continuous-integration/drone/push Build is passing
Update v1.1.0-beta.1 5
2024-12-21 18:33:11 +01:00

29 lines
661 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
tags_file: .tags
dockerfile: Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password