drone-semantic-release/templates/build_docker.Dockerfile
2022-08-21 15:29:42 +02:00

14 lines
304 B
Docker

FROM node:alpine
# Install ssh client and git
RUN apk add --no-cache openssh-client git
RUN yarn global add semantic-release@18
# Download public key for github.com
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
COPY . .
RUN --mount=type=ssh,id=default semantic-release