build: fix webhook push wihout authorization header.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ivan Li 2022-07-17 11:23:39 +08:00
parent 621fdf53a8
commit 6d28de39c1
2 changed files with 3 additions and 3 deletions

View File

@ -97,9 +97,9 @@ steps:
- name: deploy
image: plugins/webhook
settings:
token-value:
token_value:
from_secret: watchtower-webhook-token
token-type: Bearer
token_type: Bearer
urls: https://watchtower.ivanli.cc/v1/update
content_type: application/json
template: |

View File

@ -1,9 +1,9 @@
FROM node:16-alpine as base
# RUN apk add --no-cache make gcc g++ python3
WORKDIR /app
COPY package-lock.json package.json ./
RUN npm ci --no-audit --legacy-peer-deps
COPY . .
FROM node:16-alpine as release
WORKDIR /app
COPY --from=base /app ./