diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30c9743..8513fa3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -222,7 +222,7 @@ jobs: if: ${{ steps.vars.outputs.HAS_SECRET_TOKEN }} uses: docker/build-push-action@v3 with: - platforms: linux/amd64,linux/arm/v7,linux/arm/v6,linux/arm64 + platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/386 push: true file: Dockerfile tags: ${{ steps.tags.outputs.TAGS }} diff --git a/Dockerfile b/Dockerfile index c99ec15..a7caccf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,8 @@ WORKDIR /usr/local/src/neolink # Build the main program or copy from github build ones COPY . /usr/local/src/neolink -RUN if [ -f "${TARGETPLATFORM}/neolink" ]; then \ +RUN echo "TARGETPLATFORM; ${TARGETPLATFORM}"; \ + if [ -f "${TARGETPLATFORM}/neolink" ]; then \ mkdir -p /usr/local/src/neolink/target/release/; \ cp "${TARGETPLATFORM}/neolink" "/usr/local/src/neolink/target/release/neolink"; \ else \