diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 434ca1045b..3ca4cd1e77 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -72,14 +72,15 @@ jobs: - name: Build and push centrifugeio/centrifuge-chain uses: docker/build-push-action@v5 - # env: + env: + features: ${{join(['fast', 'runtime'], '-')}} # BUILDKIT_PROGRESS: plain # DOCKER_BUILDKIT: 1 with: context: . file: ./docker/centrifuge-chain/Dockerfile build-args: | - FEATURES=${{ matrix.target == 'test' && join(['fast', 'runtime'], '-') || '' }} + FEATURES=${{ matrix.target == 'test' && '${{ env.features }}' || '' }} # SCCACHE_GHA_ENABLED="true" # RUSTC_WRAPPER=sccache push: ${{ github.ref == '/refs/heads/main' && true || false }}