Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add container build #2

Merged
merged 5 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM node:22.8.0-alpine3.20
rwaffen marked this conversation as resolved.
Show resolved Hide resolved

LABEL org.label-schema.maintainer="Voxpupuli Team <[email protected]>" \
rwaffen marked this conversation as resolved.
Show resolved Hide resolved
org.label-schema.vendor="Voxpupuli" \
org.label-schema.url="https://github.com/voxpupuli/container-semantic-release" \
org.label-schema.name="Vox Pupuli Container for semantic-release" \
org.label-schema.license="AGPL-3.0-or-later" \
org.label-schema.vcs-url="https://github.com/voxpupuli/container-semantic-release" \
org.label-schema.schema-version="1.0" \
org.label-schema.dockerfile="/Dockerfile"

RUN apk update \
&& apk upgrade \
&& apk add --no-cache --update git git-lfs openssh-client

WORKDIR /npm

ENV PATH="$PATH:/npm/node_modules/.bin"

COPY Dockerfile /
COPY package.json package-lock.json /npm/

RUN npm ci

WORKDIR /data

ENTRYPOINT [ "semantic-release" ]
CMD [ "--dry-run" ]
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Voxpupuli Semantic Release Container

## How to generate package.json and package-lock.json

```shell
npm install \
semantic-release \
@bobvanderlinden/semantic-release-pull-request-analyzer \
@semantic-release/changelog \
@semantic-release/commit-analyzer \
@semantic-release/exec \
@semantic-release/git \
@semantic-release/github \
@semantic-release/gitlab \
@semantic-release/release-notes-generator \
semantic-release-commits-lint \
semantic-release-github-milestones \
semantic-release-github-pullrequest \
semantic-release-jira-notes \
semantic-release-license \
semantic-release-major-tag \
semantic-release-pypi \
semantic-release-replace-plugin
```
Loading