with branches
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
FROM node
|
||||
FROM node:alpine
|
||||
|
||||
#RUN npx semantic-release@18
|
||||
# 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 npx semantic-release@18
|
||||
RUN --mount=type=ssh,id=default semantic-release
|
||||
|
Reference in New Issue
Block a user