Commit fd5139b 1 parent e66fa77 commit fd5139b Copy full SHA for fd5139b
File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 18
18
path : ~/.m2
19
19
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
20
20
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
21
26
- name : Build Management API in docker
22
27
run : |
23
28
cat <<EOF > ~/.m2/settings.xml
39
44
cp ~/.m2/settings.xml settings.xml
40
45
docker build -t management-api-for-dse-builder -f ./Dockerfile-build-dse ./
41
46
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 .
43
52
docker build -t mgmtapi-4_0 -f Dockerfile-4_0 .
44
53
docker build -t mgmtapi-dse-68 -f Dockerfile-dse-68 .
45
54
- name : Build with Maven
You can’t perform that action at this time.
0 commit comments