diff --git a/.github/workflows/cli-continuous-integration.yml b/.github/workflows/cli-continuous-integration.yml index 886b2c0e..c1600009 100644 --- a/.github/workflows/cli-continuous-integration.yml +++ b/.github/workflows/cli-continuous-integration.yml @@ -62,7 +62,7 @@ jobs: java-version: ${{ matrix.jdk-version }} github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build native image on Linux - run: native-image --enable-url-protocols=https --libc=musl -jar nubesgen-cli-*.jar nubesgen-cli-linux + run: native-image --enable-url-protocols=https --static --libc=musl -jar nubesgen-cli-*.jar nubesgen-cli-linux if: runner.os == 'Linux' - name: Build native image on Mac OS X (Intel x64) run: native-image --enable-url-protocols=https -jar nubesgen-cli-*.jar nubesgen-cli-macos diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index a13ff9e2..0c2b9005 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -53,7 +53,7 @@ jobs: java-version: '23' github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build native image on Linux - run: native-image --enable-url-protocols=https --libc=musl -jar nubesgen-cli-*.jar nubesgen-cli-linux + run: native-image --enable-url-protocols=https --static --libc=musl -jar nubesgen-cli-*.jar nubesgen-cli-linux if: runner.os == 'Linux' - name: Build native image on Mac OS X run: native-image --enable-url-protocols=https -jar nubesgen-cli-*.jar nubesgen-cli-macos