Skip to content
Snippets Groups Projects
Commit 1091787c authored by Dean Lovett's avatar Dean Lovett
Browse files

feat: added initial commit

parent 3130fdf8
No related branches found
No related tags found
No related merge requests found
FROM node:14-buster-slim
RUN apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates openssh-client \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN npm i -g standard-version
RUN git config --global user.email "ci-versioning@nexusmods.com"
RUN git config --global user.name "git"
RUN which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
RUN eval $(ssh-agent -s)
RUN mkdir -p ~/.ssh
RUN chmod 700 ~/.ssh
RUN touch ~/.ssh/known_hosts
RUN chmod 644 ~/.ssh/known_hosts
COPY src/ build/
CMD ["/build/release.sh"]
\ No newline at end of file
#!/bin/bash -e
ssh git@gitlab.nexdev.uk
git clone git@gitlab.nexdev.uk:$(CI_PROJECT_PATH).git
cd $(CI_PROJECT_NAME)
standard-version
git push --follow-tags -o ci.skip
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment