nats-io / nats-docker

Official Docker image for the NATS server
Apache License 2.0
132 stars 44 forks source link

Add workflow for building preview release images #140

Closed bruth closed 7 months ago

bruth commented 7 months ago

This does a multi-arch build for Linux and Windows equivalent to the official releases.

Note, 2.9.x can be added as well, but the current scope is only the current minor version.

This has been squashed, but was tested in previous commits, see:

See example pushed images on Docker Hub.

bruth commented 7 months ago

When a tag on nats-docker is pushed, it will create the corresponding Docker images. The end-to-end workflow will be:

Effectively the same workflow as a final release, except for previews we don't open a PR to the official-images repo.

derekcollison commented 7 months ago

LGTM but my docker skills are lackluster at best, so will defer to @wallyqs