build: fix webhook push wihout authorization header.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
621fdf53a8
commit
6d28de39c1
@ -97,9 +97,9 @@ steps:
|
|||||||
- name: deploy
|
- name: deploy
|
||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
token-value:
|
token_value:
|
||||||
from_secret: watchtower-webhook-token
|
from_secret: watchtower-webhook-token
|
||||||
token-type: Bearer
|
token_type: Bearer
|
||||||
urls: https://watchtower.ivanli.cc/v1/update
|
urls: https://watchtower.ivanli.cc/v1/update
|
||||||
content_type: application/json
|
content_type: application/json
|
||||||
template: |
|
template: |
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
FROM node:16-alpine as base
|
FROM node:16-alpine as base
|
||||||
# RUN apk add --no-cache make gcc g++ python3
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package-lock.json package.json ./
|
COPY package-lock.json package.json ./
|
||||||
RUN npm ci --no-audit --legacy-peer-deps
|
RUN npm ci --no-audit --legacy-peer-deps
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
FROM node:16-alpine as release
|
FROM node:16-alpine as release
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=base /app ./
|
COPY --from=base /app ./
|
||||||
|
Loading…
Reference in New Issue
Block a user