Skip to content

armgit / floci

Public Imported from GitHub
0

Light, fluffy, and always free - The AWS Local Emulator alternative

Fix: Github Actions

Juan Diego López5ec7dd2894e6
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