Refactor discordWebhookSuspisiousAlertMiddleware.js to use setupData variable within the sendDiscordWebhook function
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
18
.drone.yml
18
.drone.yml
@@ -13,13 +13,27 @@ steps:
|
||||
- npm install
|
||||
- node -v
|
||||
|
||||
- name: extract-version
|
||||
image: node:alpine
|
||||
commands:
|
||||
- npm install -g json
|
||||
- echo $(json -f package.json version) > .version
|
||||
volumes:
|
||||
- name: shared
|
||||
path: /drone/src
|
||||
|
||||
- name: build-docker-image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: swiftlogiclabs/cdn-app-insider
|
||||
tags: latest
|
||||
tags:
|
||||
- latest
|
||||
- $(cat .version)
|
||||
dockerfile: Dockerfile
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
from_secret: docker_password
|
||||
volumes:
|
||||
- name: shared
|
||||
path: /drone/src
|
||||
Reference in New Issue
Block a user