Skip to content

Commit

Permalink
Consolidate Docker-related stuff in docker directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Oct 26, 2024
1 parent 82e6499 commit 8ec4dd2
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chain-spec-snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: build
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
with:
file: Dockerfile-node
file: docker/node.Dockerfile
push: false

- name: Generate testnet chain specifications
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
id: build
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
with:
file: Dockerfile-node
file: docker/node.Dockerfile
push: false

- name: Generate testnet domain genesis storages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/runtime-snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: build
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
with:
file: Dockerfile-runtime
file: docker/runtime.Dockerfile
push: false

- name: Extract runtime
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Build and push ${{ matrix.image }} image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
with:
file: Dockerfile-${{ matrix.image }}
file: docker/${{ matrix.image }}.Dockerfile
# TODO: Add `linux/riscv64` once https://github.com/paritytech/polkadot-sdk/issues/5996 is resolved and ring
# 0.16.x is no longer in dependencies
platforms: linux/amd64,linux/arm64
Expand Down
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions docker/bootstrap-node.Dockerfile.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*
!/crates
!/domains
!/orml
!/shared
!/test
!/Cargo.lock
!/Cargo.toml
!/rust-toolchain.toml
File renamed without changes.
9 changes: 9 additions & 0 deletions docker/farmer.Dockerfile.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*
!/crates
!/domains
!/orml
!/shared
!/test
!/Cargo.lock
!/Cargo.toml
!/rust-toolchain.toml
File renamed without changes.
9 changes: 9 additions & 0 deletions docker/node.Dockerfile.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*
!/crates
!/domains
!/orml
!/shared
!/test
!/Cargo.lock
!/Cargo.toml
!/rust-toolchain.toml
File renamed without changes.
9 changes: 9 additions & 0 deletions docker/runtime.Dockerfile.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*
!/crates
!/domains
!/orml
!/shared
!/test
!/Cargo.lock
!/Cargo.toml
!/rust-toolchain.toml

0 comments on commit 8ec4dd2

Please sign in to comment.