Skip to content

Commit fd5139b

Browse files
committed
Update ci to build 3.11 same as for release
1 parent e66fa77 commit fd5139b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
path: ~/.m2
1919
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2020
restore-keys: ${{ runner.os }}-m2
21+
- name: Setup Buildx
22+
id: buildx
23+
uses: crazy-max/ghaction-docker-buildx@v3
24+
with:
25+
version: latest
2126
- name: Build Management API in docker
2227
run: |
2328
cat <<EOF > ~/.m2/settings.xml
@@ -39,7 +44,11 @@ jobs:
3944
cp ~/.m2/settings.xml settings.xml
4045
docker build -t management-api-for-dse-builder -f ./Dockerfile-build-dse ./
4146
docker tag management-api-for-dse-builder management-api-for-apache-cassandra-builder
42-
docker build -t mgmtapi-3_11 -f Dockerfile-3_11 .
47+
docker buildx build --load \
48+
--tag mgmtapi-3_11 \
49+
--file Dockerfile-oss \
50+
--target oss311 \
51+
--platform linux/amd64 .
4352
docker build -t mgmtapi-4_0 -f Dockerfile-4_0 .
4453
docker build -t mgmtapi-dse-68 -f Dockerfile-dse-68 .
4554
- name: Build with Maven

0 commit comments

Comments
 (0)