From 290e69ed260709cfbd6a2ff6e0027be21530b297 Mon Sep 17 00:00:00 2001 From: xiaochenl Date: Mon, 26 Jul 2021 15:01:11 +0800 Subject: [PATCH] update release.yml and dockerfile update release.yml and dockerfile --- .github/workflows/release.yml | 5 ++--- Dockerfile-pier | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f86193ea..96c65ebf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - os: [macos-latest, ubuntu-latest] + os: [macos-10.15, ubuntu-18.04] steps: - name: Set up Go uses: actions/setup-go@v2 @@ -36,7 +36,7 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-18.04] go_version: [1.13] steps: - name: Set up Go @@ -56,6 +56,5 @@ jobs: name: meshplus/pier username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - registry: hub.docker.com dockerfile: Dockerfile-pier tag_names: true \ No newline at end of file diff --git a/Dockerfile-pier b/Dockerfile-pier index 8924da79..1f53b1b0 100644 --- a/Dockerfile-pier +++ b/Dockerfile-pier @@ -1,6 +1,6 @@ FROM frolvlad/alpine-glibc # Environmental preparation -COPY ./build/libwasmer.so /lib +COPY ./build/wasm/lib/darwin-amd64/libwasmer.so /lib ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib RUN mkdir -p /root/.pier/plugins WORKDIR /root/.pier