diff --git a/.github/workflows/buildDocker.yml b/.github/workflows/buildDocker.yml new file mode 100644 index 0000000000..cf8774df05 --- /dev/null +++ b/.github/workflows/buildDocker.yml @@ -0,0 +1,43 @@ +name: Build Docker Images +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'zulu' + cache: 'maven' + + - name: Build project + run: mvn clean install -Pdocker -Ddocker.skip-test=true -pl -jmxterm + + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_HUB_USER }} + password: ${{ secrets.DOCKER_HUB_ACCESS_KEY }} + + - name: Build Docker image + uses: docker/build-push-action@v3 + with: + context: base + file: base/Dockerfile.ubi8 + platforms: linux/amd64,linux/arm64 + push: true + tags: thinkportgmbh/cp-base-new:7.0.1 + build-args: | + ARTIFACT_ID=cp-base-new + PROJECT_VERSION=7.0.1 + diff --git a/base/pom.xml b/base/pom.xml index f49eb290af..8a11c3e765 100644 --- a/base/pom.xml +++ b/base/pom.xml @@ -80,8 +80,8 @@ - - + + maven-resources-plugin @@ -111,25 +111,17 @@ com.spotify dockerfile-maven-plugin - - - ${ubi.image.version} - -${ubi.openssl.version} - -${ubi.wget.version} - -${ubi.netcat.version} - -${ubi.python36.version} - -${ubi.tar.version} - -${ubi.procps.version} - -${ubi.krb5.workstation.version} - -${ubi.iputils.version} - -${ubi.hostname.version} - -${ubi.zulu.openjdk.version} - ==${ubi.python.pip.version} - ==${ubi.python.setuptools.version} - ${ubi.python.confluent.docker.utils.version} - ${docker.skip-security-update-check} - - + + + package + + build + + + true + + + diff --git a/pom.xml b/pom.xml index 2dfa4f3203..b8d51894d8 100644 --- a/pom.xml +++ b/pom.xml @@ -32,19 +32,21 @@ ${io.confluent.common-docker.version}-${docker.os_type} 7.0.1 - 8.5-204 + 8.6-854 - 1.1.1k-4.el8 + 1.1.1k-6.el8_5 1.19.5-10.el8 7.70-6.el8 3.6.8-38.module+el8.5.0+12207+5c5719bc 1.30-5.el8 3.3.15-6.el8 1.18.2-14.el8 - 20180629-7.el8 + 20180629-9.el8 3.20-6.el8 + 5.2.4-4.el8_6 + 2.28-189.5.el8_6 - 11.0.13 + 11.0.15-1 21.* 54.* @@ -56,4 +58,10 @@ `-Ddocker.skip-security-update-check=true` --> false + + + confluent + https://packages.confluent.io/maven/ + +