diff --git a/.github/workflows/image-builds-unauth.yml b/.github/workflows/image-builds-unauth.yml index a2ac633d..7011beb3 100644 --- a/.github/workflows/image-builds-unauth.yml +++ b/.github/workflows/image-builds-unauth.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - component: [ 'mongo', 'postgres', 'debezium', 'tool', 'platform-conductor', 'operator'] + component: ['postgres', 'debezium', 'tool'] runs-on: ubuntu-latest env: DEBEZIUM_DOCKER_REGISTRY_PRIMARY_NAME: localhost:5500/debeziumquay @@ -33,6 +33,7 @@ jobs: if: matrix.component != 'tool' env: SKIP_UI: true + PLATFORM_STAGE_PLATFORM: linux/amd64 run: ./build-all-multiplatform.sh ${{ matrix.component }} - name: Build Tool Images if: matrix.component == 'tool' diff --git a/build-debezium-multiplatform.sh b/build-debezium-multiplatform.sh index c908315a..c8032aed 100755 --- a/build-debezium-multiplatform.sh +++ b/build-debezium-multiplatform.sh @@ -126,9 +126,9 @@ build_docker_image connect build_docker_image server build_docker_image operator build_docker_image platform-conductor +build_docker_image platform-stage if [[ "$SKIP_UI" != "true" ]]; then build_docker_image debezium-ui ui - build_docker_image platform-stage fi build_docker_image example-mysql examples/mysql build_docker_image example-mysql-gtids examples/mysql-gtids diff --git a/build-debezium.sh b/build-debezium.sh index 7e09a6f7..e810b224 100755 --- a/build-debezium.sh +++ b/build-debezium.sh @@ -104,10 +104,10 @@ build_docker_image example-mongodb examples/mongodb build_docker_image example-mysql-master examples/mysql-replication/master build_docker_image example-mysql-replica examples/mysql-replication/replica build_docker_image platform-conductor +build_docker_image platform-stage build_docker_image operator if [[ "$SKIP_UI" != "true" ]]; then build_docker_image debezium-ui ui - build_docker_image platform-stage fi echo "" diff --git a/platform-stage/snapshot/Dockerfile b/platform-stage/snapshot/Dockerfile index 3fe42954..9a85b24c 100644 --- a/platform-stage/snapshot/Dockerfile +++ b/platform-stage/snapshot/Dockerfile @@ -23,7 +23,7 @@ RUN npm install -g yarn WORKDIR /app COPY --from=cloner /app/debezium-platform/debezium-platform-stage/package.json /app/ COPY --from=cloner /app/debezium-platform/debezium-platform-stage/yarn.lock /app/ -RUN yarn install +RUN yarn install --network-timeout=600000 COPY --from=cloner /app/debezium-platform/debezium-platform-stage /app RUN yarn build