Skip to content

Commit

Permalink
Update build os
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Oct 9, 2021
1 parent 9b5417b commit 1ac9a4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
unit-tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -26,7 +26,7 @@ jobs:
run: cargo test --all

formatting:
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
github-releases:
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
outputs:
tag: ${{ steps.check_rc.outputs.tag }}
rc: ${{ steps.check_rc.outputs.rc }}
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
target/release/wbuild/deer-runtime/deer_runtime.compact.wasm
docker-hub:
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
needs: ["github-releases"]
if: needs.github-releases.outputs.rc == 'false'
steps:
Expand All @@ -57,6 +57,7 @@ jobs:
with:
name: deer-node
path: ${{ github.workspace }}/target/release/
- run: chmod +x ${{ github.workspace }}/target/release/deer-node
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN apt-get update && \
# add node to docker image
COPY ./target/release/deer-node /usr/local/bin/deer-node

RUN /usr/local/bin/deer-node --version

EXPOSE 30333 9933 9944

ENTRYPOINT ["/usr/local/bin/deer-node"]

0 comments on commit 1ac9a4a

Please sign in to comment.