Skip to content

Commit

Permalink
update release.yml and dockerfile
Browse files Browse the repository at this point in the history
update release.yml and dockerfile
  • Loading branch information
xiaochenl committed Jul 26, 2021
1 parent 1af6737 commit 290e69e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion Dockerfile-pier
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 290e69e

Please sign in to comment.