Release v0.1.90 #110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
build-dse-68-ubuntu: | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
dse-version: [6.8.25, 6.8.26, 6.8.28, 6.8.29, 6.8.30, 6.8.31, 6.8.32, 6.8.33, 6.8.34, 6.8.35, 6.8.36, 6.8.37, 6.8.38, 6.8.39, 6.8.40, 6.8.41, 6.8.42, 6.8.43, 6.8.44, 6.8.46, 6.8.47, 6.8.48, 6.8.49, 6.8.50, 6.8.51, 6.8.52] | |
image-base: [jdk8, jdk11] | |
include: | |
- dse-version: 6.8.52 | |
latest: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Maven Settings File | |
run: | | |
mkdir -p ~/.m2 | |
cat <<EOF > ~/.m2/settings.xml | |
<settings> | |
<servers> | |
<server> | |
<id>artifactory-snapshots</id> | |
<username>${{ secrets.ARTIFACTORY_USERNAME }}</username> | |
<password>${{ secrets.ARTIFACTORY_PASSWORD }}</password> | |
</server> | |
<server> | |
<id>artifactory-releases</id> | |
<username>${{ secrets.ARTIFACTORY_USERNAME }}</username> | |
<password>${{ secrets.ARTIFACTORY_PASSWORD }}</password> | |
</server> | |
</servers> | |
</settings> | |
EOF | |
cp ~/.m2/settings.xml settings.xml | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
version: latest | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- if: ${{ matrix.latest && matrix.image-base == 'jdk8' }} | |
name: Publish ${{ matrix.dse-version }} (${{ matrix.image-base }}) to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg DSE_VERSION=${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:6.8 \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-$RELEASE_VERSION \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }}-$RELEASE_VERSION \ | |
--file dse/Dockerfile-dse6.8.${{ matrix.image-base }} \ | |
--target dse \ | |
--platform linux/amd64 . | |
- if: ${{ matrix.latest && matrix.image-base != 'jdk8' }} | |
name: Publish ${{ matrix.dse-version }} (${{ matrix.image-base }}) to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg DSE_VERSION=${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:6.8-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }}-$RELEASE_VERSION \ | |
--file dse/Dockerfile-dse6.8.${{ matrix.image-base }} \ | |
--target dse \ | |
--platform linux/amd64 . | |
- if: ${{ !matrix.latest && matrix.image-base == 'jdk8' }} | |
name: Publish ${{ matrix.dse-version }} (${{ matrix.image-base }}) to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg DSE_VERSION=${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-$RELEASE_VERSION \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }}-$RELEASE_VERSION \ | |
--file dse/Dockerfile-dse6.8.${{ matrix.image-base }} \ | |
--target dse \ | |
--platform linux/amd64 . | |
- if: ${{ !matrix.latest && matrix.image-base != 'jdk8' }} | |
name: Publish ${{ matrix.cassandra-version }} (${{ matrix.image-base }}) to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg DSE_VERSION=${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }}-$RELEASE_VERSION \ | |
--file dse/Dockerfile-dse6.8.${{ matrix.image-base }} \ | |
--target dse \ | |
--platform linux/amd64 . | |
build-dse-68-ubi8: | |
needs: build-dse-68-ubuntu | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
dse-version: [6.8.25, 6.8.26, 6.8.28, 6.8.29, 6.8.30, 6.8.31, 6.8.32, 6.8.33, 6.8.34, 6.8.35, 6.8.36, 6.8.37, 6.8.38, 6.8.39, 6.8.40, 6.8.41, 6.8.42, 6.8.43, 6.8.44, 6.8.46, 6.8.47, 6.8.48, 6.8.49, 6.8.50, 6.8.51, 6.8.52] | |
image-base: [ubi8] | |
include: | |
- dse-version: 6.8.52 | |
latest: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Maven Settings File | |
run: | | |
mkdir -p ~/.m2 | |
cat <<EOF > ~/.m2/settings.xml | |
<settings> | |
<servers> | |
<server> | |
<id>artifactory-snapshots</id> | |
<username>${{ secrets.ARTIFACTORY_USERNAME }}</username> | |
<password>${{ secrets.ARTIFACTORY_PASSWORD }}</password> | |
</server> | |
<server> | |
<id>artifactory-releases</id> | |
<username>${{ secrets.ARTIFACTORY_USERNAME }}</username> | |
<password>${{ secrets.ARTIFACTORY_PASSWORD }}</password> | |
</server> | |
</servers> | |
</settings> | |
EOF | |
cp ~/.m2/settings.xml settings.xml | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
version: latest | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- if: ${{ matrix.latest }} | |
name: Publish ${{ matrix.dse-version }} (ubi) to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg DSE_VERSION=${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:6.8-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:6.8-ubi \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-ubi \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }}-$RELEASE_VERSION \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-ubi-$RELEASE_VERSION \ | |
--file dse/Dockerfile-dse6.8.${{ matrix.image-base }} \ | |
--target dse \ | |
--platform linux/amd64 . | |
- if: ${{ !matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }} (ubi) to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg DSE_VERSION=${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-ubi \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }}-$RELEASE_VERSION \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-ubi-$RELEASE_VERSION \ | |
--file dse/Dockerfile-dse6.8.${{ matrix.image-base }} \ | |
--target dse \ | |
--platform linux/amd64 . | |
# Cassandra 3.11 support is now deprecated | |
# build-oss-3-11x: | |
# strategy: | |
# fail-fast: false | |
# max-parallel: 4 | |
# matrix: | |
# cassandra-version: [3.11.7, 3.11.8, 3.11.11, 3.11.12, 3.11.13, 3.11.14, 3.11.15, 3.11.16, 3.11.17] | |
# include: | |
# - cassandra-version: 3.11.16 | |
# latest: true | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - name: Set up QEMU | |
# uses: docker/setup-qemu-action@v3 | |
# - name: Setup Buildx | |
# id: buildx | |
# uses: docker/setup-buildx-action@v3 | |
# with: | |
# version: latest | |
# - name: Login to DockerHub | |
# uses: docker/login-action@v3 | |
# with: | |
# username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
# password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
# - if: ${{ matrix.latest }} | |
# name: Publish ${{ matrix.cassandra-version }} to Registry | |
# run: | | |
# RELEASE_VERSION="${GITHUB_REF##*/}" | |
# docker buildx build --push \ | |
# --build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
# --tag k8ssandra/cass-management-api:3.11 \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }} \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-$RELEASE_VERSION \ | |
# --file cassandra/Dockerfile-3.11 \ | |
# --target cassandra \ | |
# --platform linux/amd64,linux/arm64 . | |
# - if: ${{ !matrix.latest }} | |
# name: Publish ${{ matrix.cassandra-version }} to Registry | |
# run: | | |
# RELEASE_VERSION="${GITHUB_REF##*/}" | |
# docker buildx build --push \ | |
# --build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }} \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-$RELEASE_VERSION \ | |
# --file cassandra/Dockerfile-3.11 \ | |
# --target cassandra \ | |
# --platform linux/amd64,linux/arm64 . | |
# - if: ${{ matrix.latest }} | |
# name: Publish ${{ matrix.cassandra-version }}-ubi to Registry | |
# run: | | |
# RELEASE_VERSION="${GITHUB_REF##*/}" | |
# docker buildx build --push \ | |
# --build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
# --tag k8ssandra/cass-management-api:3.11-ubi8 \ | |
# --tag k8ssandra/cass-management-api:3.11-ubi \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \ | |
# --file cassandra/Dockerfile-3.11.ubi8 \ | |
# --target cassandra \ | |
# --platform linux/amd64,linux/arm64 . | |
# - if: ${{ !matrix.latest }} | |
# name: Publish ${{ matrix.cassandra-version }}-ubi8 to Registry | |
# run: | | |
# RELEASE_VERSION="${GITHUB_REF##*/}" | |
# docker buildx build --push \ | |
# --build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \ | |
# --tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \ | |
# --file cassandra/Dockerfile-3.11.ubi8 \ | |
# --target cassandra \ | |
# --platform linux/amd64,linux/arm64 . | |
build-oss-4-0x: | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
cassandra-version: [4.0.0, 4.0.1, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 4.0.8, 4.0.9, 4.0.10, 4.0.11, 4.0.12, 4.0.13, 4.0.14, 4.0.15] | |
include: | |
- cassandra-version: 4.0.15 | |
latest: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
version: latest | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- if: ${{ matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }} to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:4.0 \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-$RELEASE_VERSION \ | |
--file cassandra/Dockerfile-4.0 \ | |
--target cassandra \ | |
--platform linux/amd64,linux/arm64 . | |
- if: ${{ !matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }} to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-$RELEASE_VERSION \ | |
--file cassandra/Dockerfile-4.0 \ | |
--target cassandra \ | |
--platform linux/amd64,linux/arm64 . | |
- if: ${{ matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }}-ubi to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:4.0-ubi8 \ | |
--tag k8ssandra/cass-management-api:4.0-ubi \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \ | |
--file cassandra/Dockerfile-4.0.ubi8 \ | |
--target cassandra \ | |
--platform linux/amd64,linux/arm64 . | |
- if: ${{ !matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }}-ubi to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \ | |
--file cassandra/Dockerfile-4.0.ubi8 \ | |
--target cassandra \ | |
--platform linux/amd64,linux/arm64 . | |
build-oss-4-1x: | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
cassandra-version: [4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7] | |
include: | |
- cassandra-version: 4.1.7 | |
latest: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
version: latest | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- if: ${{ matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }} to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:4.1 \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-$RELEASE_VERSION \ | |
--file cassandra/Dockerfile-4.1 \ | |
--target cassandra \ | |
--platform linux/amd64,linux/arm64 . | |
- if: ${{ !matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }} to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-$RELEASE_VERSION \ | |
--file cassandra/Dockerfile-4.1 \ | |
--target cassandra \ | |
--platform linux/amd64,linux/arm64 . | |
- if: ${{ matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }}-ubi to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:4.1-ubi8 \ | |
--tag k8ssandra/cass-management-api:4.1-ubi \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \ | |
--file cassandra/Dockerfile-4.1.ubi8 \ | |
--target cassandra \ | |
--platform linux/amd64,linux/arm64 . | |
- if: ${{ !matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }}-ubi to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \ | |
--file cassandra/Dockerfile-4.1.ubi8 \ | |
--target cassandra \ | |
--platform linux/amd64,linux/arm64 . | |
build-oss-5-0x: | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
cassandra-version: [5.0.1, 5.0.2] | |
include: | |
- cassandra-version: 5.0.2 | |
latest: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
version: latest | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- if: ${{ matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }}-ubi to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:5.0-ubi8 \ | |
--tag k8ssandra/cass-management-api:5.0-ubi \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \ | |
--file cassandra/Dockerfile-5.0.ubi8 \ | |
--target cassandra \ | |
--platform linux/amd64,linux/arm64 . | |
- if: ${{ !matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }}-ubi to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg CASSANDRA_VERSION=${{ matrix.cassandra-version }} \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8 \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi8-$RELEASE_VERSION \ | |
--tag k8ssandra/cass-management-api:${{ matrix.cassandra-version }}-ubi-$RELEASE_VERSION \ | |
--file cassandra/Dockerfile-5.0.ubi8 \ | |
--target cassandra \ | |
--platform linux/amd64,linux/arm64 . | |
build-dse-69-ubuntu: | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
dse-version: [6.9.0, 6.9.1, 6.9.2, 6.9.3, 6.9.4] | |
image-base: [jdk11] | |
include: | |
- dse-version: 6.9.4 | |
latest: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Maven Settings File | |
run: | | |
mkdir -p ~/.m2 | |
cat <<EOF > ~/.m2/settings.xml | |
<settings> | |
<servers> | |
<server> | |
<id>artifactory-snapshots</id> | |
<username>${{ secrets.ARTIFACTORY_USERNAME }}</username> | |
<password>${{ secrets.ARTIFACTORY_PASSWORD }}</password> | |
</server> | |
<server> | |
<id>artifactory-releases</id> | |
<username>${{ secrets.ARTIFACTORY_USERNAME }}</username> | |
<password>${{ secrets.ARTIFACTORY_PASSWORD }}</password> | |
</server> | |
</servers> | |
</settings> | |
EOF | |
cp ~/.m2/settings.xml settings.xml | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
version: latest | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- if: ${{ matrix.latest }} | |
name: Publish ${{ matrix.dse-version }} (${{ matrix.image-base }}) to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg DSE_VERSION=${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:6.9 \ | |
--tag datastax/dse-mgmtapi-6_8:6.9-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }}-$RELEASE_VERSION \ | |
--file dse/Dockerfile-dse6.9.${{ matrix.image-base }} \ | |
--target dse \ | |
--platform linux/amd64 . | |
- if: ${{ !matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }} (${{ matrix.image-base }}) to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg DSE_VERSION=${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }}-$RELEASE_VERSION \ | |
--file dse/Dockerfile-dse6.9.${{ matrix.image-base }} \ | |
--target dse \ | |
--platform linux/amd64 . | |
build-dse-69-ubi8: | |
needs: build-dse-69-ubuntu | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
dse-version: [6.9.0, 6.9.1, 6.9.2, 6.9.3, 6.9.4] | |
image-base: [ubi8] | |
include: | |
- dse-version: 6.9.4 | |
latest: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Maven Settings File | |
run: | | |
mkdir -p ~/.m2 | |
cat <<EOF > ~/.m2/settings.xml | |
<settings> | |
<servers> | |
<server> | |
<id>artifactory-snapshots</id> | |
<username>${{ secrets.ARTIFACTORY_USERNAME }}</username> | |
<password>${{ secrets.ARTIFACTORY_PASSWORD }}</password> | |
</server> | |
<server> | |
<id>artifactory-releases</id> | |
<username>${{ secrets.ARTIFACTORY_USERNAME }}</username> | |
<password>${{ secrets.ARTIFACTORY_PASSWORD }}</password> | |
</server> | |
</servers> | |
</settings> | |
EOF | |
cp ~/.m2/settings.xml settings.xml | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
version: latest | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- if: ${{ matrix.latest }} | |
name: Publish ${{ matrix.dse-version }} (ubi) to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg DSE_VERSION=${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:6.9-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:6.9-ubi \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-ubi \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }}-$RELEASE_VERSION \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-ubi-$RELEASE_VERSION \ | |
--file dse/Dockerfile-dse6.9.${{ matrix.image-base }} \ | |
--target dse \ | |
--platform linux/amd64 . | |
- if: ${{ !matrix.latest }} | |
name: Publish ${{ matrix.cassandra-version }} (ubi) to Registry | |
run: | | |
RELEASE_VERSION="${GITHUB_REF##*/}" | |
docker buildx build --push \ | |
--build-arg DSE_VERSION=${{ matrix.dse-version }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }} \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-ubi \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-${{ matrix.image-base }}-$RELEASE_VERSION \ | |
--tag datastax/dse-mgmtapi-6_8:${{ matrix.dse-version }}-ubi-$RELEASE_VERSION \ | |
--file dse/Dockerfile-dse6.9.${{ matrix.image-base }} \ | |
--target dse \ | |
--platform linux/amd64 . | |