diff --git a/.docker/docker-compose.gov.j2 b/.docker/docker-compose.gov.j2 index b411da8672..edabc3fb27 100644 --- a/.docker/docker-compose.gov.j2 +++ b/.docker/docker-compose.gov.j2 @@ -7,6 +7,7 @@ services: - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}" - "NETWORK={{ NETWORK }}" - "WASM_NAME={{ WASM_NAME }}" + - "GIT_PRIVATE_CREDENTIALS"={{ GIT_PRIVATE_CREDENTIALS }} context: ../ dockerfile: .docker/Dockerfile-chain-dev image: node-dev diff --git a/.docker/docker-compose.tmp-dev.j2 b/.docker/docker-compose.tmp-dev.j2 index bfac7fa28a..d4b4352752 100644 --- a/.docker/docker-compose.tmp-dev.j2 +++ b/.docker/docker-compose.tmp-dev.j2 @@ -6,6 +6,7 @@ services: args: - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}" - "NETWORK={{ NETWORK }}" + - "GIT_PRIVATE_CREDENTIALS"={{ GIT_PRIVATE_CREDENTIALS }} context: ../ dockerfile: .docker/Dockerfile-chain-dev image: node-dev diff --git a/.docker/docker-compose.tmp-unit.j2 b/.docker/docker-compose.tmp-unit.j2 index 831ddffb5e..180e7b41bf 100644 --- a/.docker/docker-compose.tmp-unit.j2 +++ b/.docker/docker-compose.tmp-unit.j2 @@ -8,6 +8,7 @@ services: args: - "RUST_TOOLCHAIN={{ RUST_TOOLCHAIN }}" - "NETWORK={{ NETWORK }}" + - "GIT_PRIVATE_CREDENTIALS"={{ GIT_PRIVATE_CREDENTIALS }} image: node-dev container_name: node-dev logging: diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index da2407ba3a..42e2c9c5d4 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -61,6 +61,8 @@ jobs: toolchain: ${{ env.RUST_TOOLCHAIN }} targets: wasm32-unknown-unknown components: rustfmt, clippy + - name: set git configuration + run: git config --global url."https://${{ secrets.GIT_PRIVATE_CREDENTIALS }}@github.com".insteadOf ssh://git@github.com - name: Run cargo check run: cargo clippy --features=quartz-runtime,unique-runtime,try-runtime,runtime-benchmarks --tests -- -Dwarnings env: diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml index dc0ce2d210..026fb17c9f 100644 --- a/.github/workflows/governance.yml +++ b/.github/workflows/governance.yml @@ -70,6 +70,7 @@ jobs: RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} NETWORK=${{ matrix.network }} WASM_NAME=${{ matrix.wasm_name }} + GIT_PRIVATE_CREDENTIALS=${{ secrets.GIT_PRIVATE_CREDENTIALS }} - name: Show build configuration run: cat .docker/docker-compose.${{ matrix.network }}.yml diff --git a/.github/workflows/polkadot-types.yml b/.github/workflows/polkadot-types.yml index ec29dd9ef0..5f9442c065 100644 --- a/.github/workflows/polkadot-types.yml +++ b/.github/workflows/polkadot-types.yml @@ -59,6 +59,7 @@ jobs: variables: | RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} NETWORK=${{ matrix.network }} + GIT_PRIVATE_CREDENTIALS=${{ secrets.GIT_PRIVATE_CREDENTIALS }} - name: Show build configuration run: cat .docker/docker-compose.${{ matrix.network }}.yml diff --git a/.github/workflows/try-runtime.yml b/.github/workflows/try-runtime.yml index 88b0c75dc9..6815d2917f 100644 --- a/.github/workflows/try-runtime.yml +++ b/.github/workflows/try-runtime.yml @@ -84,6 +84,7 @@ jobs: NETWORK=${{ matrix.network }} WASM_NAME=${{ matrix.wasm_name }} REPLICA_FROM=${{ matrix.replica_from_address }} + GIT_PRIVATE_CREDENTIALS=${{ secrets.GIT_PRIVATE_CREDENTIALS }} - name: Show build Dockerfile run: cat .docker/Dockerfile-try-runtime.${{ matrix.network }}.yml @@ -169,7 +170,6 @@ jobs: variables: | NETWORK=${{ matrix.network }} BUILD_TAG=${{ steps.branchname.outputs.value }}-$BUILD_SHA - GIT_PRIVATE_CREDENTIALS=${{ secrets.GIT_PRIVATE_CREDENTIALS }} - name: Show build configuration run: cat .docker/docker-compose.try-runtime.${{ matrix.network }}.yml