build

Docker image used to build the Cucumber Project

MIT License

Stars
2
Committers
15

Cucumber Build

Docker image used to build and release projects in the Cucumber organization.

Usage

In a cucumber project use the cucumber/cucumber-build:TAG image to build and/or release. You'll find available tags at Docker Hub.

Building the image

make

Processor Architecture

By default, the make script will build just for your local host machine's processor architecture, but you can try building for multiple platforms by specifying the PLATFORMS environment variable.

Before doing this, make sure you've started a multi-platform builder:

docker buildx create --use

Now try running the build with multiple platforms, e.g.

PLATFORMS=linux/arm64,linux/amd64 make

Publishing a new version of the image

The Docker image is published to a public dockerhub repository via an automated Continuous Deployment workflow running off protected release branches.

To make a release, you'll need to be a member of the @cucumber/build team.

export next_release=`changelog latest`
git push origin main:release/v$next_release

This assumes you have updated the CHANGELOG.md with the next release, and have the changelog tool installed.

Make sure you have set up a GPG key - all commits to the main and release branches must be signed.