Skip to content
semantic-release, encapsulated in a Docker image
Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
Dockerfile
LICENSE
README.md

README.md

semantic-release(-image)

A generally-up-to-date image containing semantic-release and most official and community plugins, good for use in containerized CI/CD pipelines!

Usage

The image is constructed with semantic-release as the ENTRYPOINT, so you can easily verify things are working with:

docker run --rm -ti jaredreisinger/semantic-release --help

... and you should see the regular help output from semantic-release.

In a CI/CD pipeline

Using Drone as an example, you can create a release step as simply as:

# . . .
steps:
  # . . .
  - name: release
    image: jaredreisinger/semantic-release

If you have a .releaserc file, your chosen plugins and configuration will magically be used.

Notes

Given the sheer number of plugins, I've decided to simply include everything as "latest".

Even though normal Dockerfile practice is to combine RUN commands to reduce the number of layers, we take advantage of caching by separating these out, and attempting to put the more-stable and less-often-updated components first.

You can’t perform that action at this time.