Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nexus-release-image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Public
nexus-release-image
Commits
1091787c
Commit
1091787c
authored
4 years ago
by
Dean Lovett
Browse files
Options
Downloads
Patches
Plain Diff
feat: added initial commit
parent
3130fdf8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+20
-0
20 additions, 0 deletions
Dockerfile
src/release.sh
+7
-0
7 additions, 0 deletions
src/release.sh
with
27 additions
and
0 deletions
Dockerfile
0 → 100644
+
20
−
0
View file @
1091787c
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
This diff is collapsed.
Click to expand it.
src/release.sh
0 → 100644
+
7
−
0
View file @
1091787c
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment