From 5ec7dd2894e6af0bb46a1fd97de562d4f57d5c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Diego=20L=C3=B3pez?= Date: Mon, 16 Mar 2026 21:59:10 -0400 Subject: [PATCH] Fix: Github Actions --- .github/workflows/docker.yml | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f03869a4f6..60461b6d60 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-java@v4 with: - java-version: '24' + java-version: '25' distribution: 'temurin' cache: maven @@ -49,7 +49,11 @@ jobs: - uses: actions/upload-artifact@v4 with: name: native-amd64 - path: target/*-runner + path: | + target/*-runner + target/*.properties + target/*.so + if-no-files-found: warn retention-days: 1 build-native-arm64: @@ -71,7 +75,11 @@ jobs: - uses: actions/upload-artifact@v4 with: name: native-arm64 - path: target/*-runner + path: | + target/*-runner + target/*.properties + target/*.so + if-no-files-found: warn retention-days: 1 push-jvm: @@ -140,11 +148,11 @@ jobs: name: native-arm64 path: native/arm64/ - - name: Prepare binaries + - name: Prepare amd64 target run: | - chmod +x native/amd64/* native/arm64/* - cp native/amd64/*-runner native-amd64 - cp native/arm64/*-runner native-arm64 + mkdir -p target + cp native/amd64/* target/ + chmod +x target/*-runner - name: Build and push amd64 native image uses: docker/build-push-action@v6 @@ -156,7 +164,13 @@ jobs: tags: ${{ secrets.DOCKERHUB_USERNAME }}/floci:${{ steps.version.outputs.version }}-amd64 build-args: | VERSION=${{ steps.version.outputs.version }} - BINARY_FILE=native-amd64 + + - name: Prepare arm64 target + run: | + rm -rf target + mkdir -p target + cp native/arm64/* target/ + chmod +x target/*-runner - name: Build and push arm64 native image uses: docker/build-push-action@v6