diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index 490d207..681b92a 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -46,7 +46,7 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: @@ -54,10 +54,13 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Execute Gradle Plate bootBuildImage + #linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 run: | chmod +x ./gradlew ./gradlew bootBuildImage --imagePlatform=linux/amd64 --network=host --publishImage ./gradlew bootBuildImage --imagePlatform=linux/arm64 --network=host --publishImage + ./gradlew bootBuildImage --imagePlatform=linux/arm/v6 --network=host --publishImage + ./gradlew bootBuildImage --imagePlatform=linux/arm/v7 --network=host --publishImage - name: Inspect run: | docker buildx imagetools inspect localhost:5000/plate-oauth2:latest @@ -95,7 +98,7 @@ jobs: - name: Build and Push Platform uses: docker/build-push-action@v6 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 context: ./boot/platform push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} @@ -119,7 +122,7 @@ jobs: - name: Build and Push Oauth2 uses: docker/build-push-action@v6 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 context: ./boot/oauth2 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.oauth2.outputs.tags }}