diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..5179239 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +.git +.github +target \ No newline at end of file diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000..770eb5a --- /dev/null +++ b/.github/workflows/docker.yml @@ -0,0 +1,16 @@ +name: Docker + +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + check: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: test docker build + run: docker build . \ No newline at end of file diff --git a/.github/workflows/publish-doc.yml b/.github/workflows/publish-doc.yml index 22eeba6..a28d202 100644 --- a/.github/workflows/publish-doc.yml +++ b/.github/workflows/publish-doc.yml @@ -1,4 +1,4 @@ -name: github pages +name: Github Pages on: push: diff --git a/Cargo.lock b/Cargo.lock index bba6761..4c1166c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -18,7 +18,7 @@ checksum = "5d2e7343e7fc9de883d1b0341e0b13970f764c14101234857d2ddafa1cb1cac2" [[package]] name = "advanca-core" -version = "0.1.0" +version = "0.2.0" dependencies = [ "frame-support", "frame-system", @@ -35,7 +35,7 @@ dependencies = [ [[package]] name = "advanca-node" -version = "0.1.0" +version = "0.2.0" dependencies = [ "advanca-runtime", "futures 0.3.4", @@ -63,7 +63,7 @@ dependencies = [ [[package]] name = "advanca-runtime" -version = "0.1.0" +version = "0.2.0" dependencies = [ "advanca-core", "frame-executive", diff --git a/Dockerfile b/Dockerfile index b923ee3..8728848 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.42.0 as builder +FROM rust:1.44.0-slim as builder LABEL maintainer "Advanca Authors" LABEL description="This is the build stage for advanca-node" @@ -16,7 +16,7 @@ RUN rustup toolchain install nightly && \ # ===== SECOND STAGE ====== -FROM rust:1.42.0 +FROM rust:1.44.0-slim LABEL maintainer "Advanca Authors" LABEL description="This is the 2nd stage"