diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index f2bdc7d..fed2c26 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -45,19 +45,19 @@ jobs: with: checkout: false slack-webhook: ${{ secrets.SLACK_WEBHOOK }} - docker-build-platforms: linux/arm64 + docker-build-platforms: linux/amd64 - name: Create release tarball if: ${{ startsWith(github.ref, 'refs/tags/') }} run: | - docker create --platform linux/arm64 ghcr.io/${{ github.repository }} > /tmp/container_id + docker create --platform linux/amd64 ghcr.io/${{ github.repository }} > /tmp/container_id docker cp $(cat /tmp/container_id):/bin/router-monitor ./router-monitor chmod +x router-monitor - tar czf router-monitor-aarch64-linux.tar.gz router-monitor + tar czf router-monitor-amd64-linux.tar.gz router-monitor - name: Create github release id: create_release uses: ncipollo/release-action@v1 if: ${{ startsWith(github.ref, 'refs/tags/') }} with: - artifacts: router-monitor-aarch64-linux.tar.gz + artifacts: router-monitor-amd64-linux.tar.gz diff --git a/Dockerfile b/Dockerfile index c566f28..7887df9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y \ # ; # RUN ln -sf /usr/include/asm-generic/ /usr/include/asm -RUN ln -sf /usr/include/aarch64-linux-gnu/asm/ /usr/include/asm +# RUN ln -sf /usr/include/aarch64-linux-gnu/asm/ /usr/include/asm WORKDIR /src