Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions etc/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,21 +282,21 @@ Next, build the image. Prefer doing a no-cache-build with a clean docker cache.

```
$ yes | docker system prune -a
$ cd mongo-cxx-driver/extras/docker/redhat-ubi-9.2
$ cd mongo-cxx-driver/extras/docker/redhat-ubi-9.3
$ make nocachebuild
```

Then, test that the image works as expected:
```
$ cd redhat-ubi-9.2/
$ cd redhat-ubi-9.3/
$ make test
```

If the test passes, you will see the following output with the version number
of the driver that you are currently releasing:
```
mongo-cxx-driver version: 3.8.0
THE redhat-ubi-9.2 IMAGE WORKS!
mongo-cxx-driver version: 3.9.0
THE redhat-ubi-9.3 IMAGE WORKS!
```

If the test passes, then check in the bumped version numbers, and get it merged
Expand All @@ -317,7 +317,7 @@ images will be pushed to the public Docker Hub repository, so **only run these
commands when you are ready to push the images!**
```
$ docker buildx create --name mybuilder --use --bootstrap
$ docker buildx build --push --platform linux/amd64,linux/arm64 --tag mongodb/mongo-cxx-driver:<VERSION NUMBER>-redhat-ubi-9.2 .
$ docker buildx build --push --platform linux/amd64,linux/arm64 --tag mongodb/mongo-cxx-driver:<VERSION NUMBER>-redhat-ubi-9.3 .
```

Update the `Tags` section of the Docker Hub
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/alpine3.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
FROM alpine:3.18 AS builder

ARG MONGOCXX_VERSION=3.9.0
ARG MONGOC_VERSION=1.25.1
ARG MONGOC_VERSION=1.25.2
ARG MONGOCRYPT_VERSION=1.8.2

WORKDIR /build
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
FROM debian:12-slim AS builder

ARG MONGOCXX_VERSION=3.9.0
ARG MONGOC_VERSION=1.25.1
ARG MONGOC_VERSION=1.25.2
ARG MONGOCRYPT_VERSION=1.8.2

WORKDIR /build
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


MONGOCXX_VERSION = "3.9.0"
MONGOC_VERSION = "1.25.1"
MONGOC_VERSION = "1.25.2"
MONGOCRYPT_VERSION = "1.8.2"


Expand Down
2 changes: 1 addition & 1 deletion extras/docker/jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
FROM ubuntu:22.04 AS builder

ARG MONGOCXX_VERSION=3.9.0
ARG MONGOC_VERSION=1.25.1
ARG MONGOC_VERSION=1.25.2
ARG MONGOCRYPT_VERSION=1.8.2

WORKDIR /build
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/redhat-ubi-9.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3 AS builder

ARG MONGOCXX_VERSION=3.9.0
ARG MONGOC_VERSION=1.25.1
ARG MONGOC_VERSION=1.25.2
ARG MONGOCRYPT_VERSION=1.8.2

WORKDIR /build
Expand Down