File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 - name : Login streamnative docker hub
2121 run : docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD }}"
2222
23+ - name : Set up QEMU
24+ uses : docker/setup-qemu-action@v3
25+
26+ - name : Set up Docker Buildx
27+ uses : docker/setup-buildx-action@v3
28+
2329 - name : Set project version
2430 run : |
2531 project_version=${GITHUB_REF#refs/tags/v}
@@ -38,12 +44,17 @@ jobs:
3844 with :
3945 max_attempts : 99
4046 retry_wait_seconds : 60
41- timeout_minutes : 5
47+ timeout_minutes : 30
4248 command : |
4349 CONNECTOR_VERSION=`./scripts/get-version.sh`
4450 PULSAR_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${pulsar.version}' --non-recursive exec:exec 2>/dev/null`
4551 REPO=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
4652 IMAGE_REPO=streamnative/${REPO}
47- docker build --build-arg PULSAR_VERSION="$PULSAR_VERSION" -t ${IMAGE_REPO}:${CONNECTOR_VERSION} -f ./image/Dockerfile ./
48- docker push ${IMAGE_REPO}:${CONNECTOR_VERSION}
53+ docker buildx build \
54+ --platform linux/amd64,linux/arm64 \
55+ --build-arg PULSAR_VERSION="$PULSAR_VERSION" \
56+ -t ${IMAGE_REPO}:${CONNECTOR_VERSION} \
57+ -f ./image/Dockerfile \
58+ --push \
59+ ./
4960
Original file line number Diff line number Diff line change 4747 <testRetryCount >2</testRetryCount >
4848
4949 <!-- connector dependencies -->
50- <jackson .version>2.12.7.1 </jackson .version>
51- <lombok .version>1.18.20 </lombok .version>
52- <pulsar .version>4.0.1.4 </pulsar .version>
50+ <jackson .version>2.18.6 </jackson .version>
51+ <lombok .version>1.18.42 </lombok .version>
52+ <pulsar .version>4.2.0.6 </pulsar .version>
5353 <activemq .verion>5.15.12</activemq .verion>
5454
5555 <!-- test dependencies -->
8989 <artifactId >jackson-databind</artifactId >
9090 <version >${jackson.version} </version >
9191 </dependency >
92+ <dependency >
93+ <groupId >com.fasterxml.jackson.core</groupId >
94+ <artifactId >jackson-core</artifactId >
95+ <version >${jackson.version} </version >
96+ </dependency >
97+ <dependency >
98+ <groupId >com.fasterxml.jackson.core</groupId >
99+ <artifactId >jackson-annotations</artifactId >
100+ <version >${jackson.version} </version >
101+ </dependency >
102+ <dependency >
103+ <groupId >com.fasterxml.jackson.datatype</groupId >
104+ <artifactId >jackson-datatype-jsr310</artifactId >
105+ <version >${jackson.version} </version >
106+ </dependency >
92107 <dependency >
93108 <groupId >org.projectlombok</groupId >
94109 <artifactId >lombok</artifactId >
You can’t perform that action at this time.
0 commit comments