with image

This commit is contained in:
Kasper Juul Hermansen 2022-08-21 16:02:06 +02:00
parent 34b97586e5
commit 09634b728b
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 9 additions and 3 deletions

View File

@ -1,8 +1,8 @@
branches:
- "main"
- "next"
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- "@semantic-release/git"

View File

@ -8,8 +8,14 @@ RUN yarn global add semantic-release@18
RUN yarn global add @semantic-release/git @semantic-release/changelog
# Download public key for github.com
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
RUN \
mkdir -p -m 0700 ~/.ssh \
&& ssh-keyscan github.com >> ~/.ssh/known_hosts \
&& ssh-keyscan git.front.kjuulh.io >> ~/.ssh/known_hosts
WORKDIR /src/app/
COPY . .
RUN --mount=type=ssh,id=default semantic-release
#RUN --mount=type=ssh,id=default semantic-release --no-ci
# run as cmd during pipeline, such easier