diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 634b287..56accf1 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -147,7 +147,11 @@ jobs: - name: Build godwoken if: steps.godwoken-cache.outputs.cache-hit != 'true' working-directory: build/godwoken - run: rustup component add rustfmt && CARGO_PROFILE_RELEASE_LTO=true cargo build --release + env: + # For ckb-rocksdb. + PORTABLE: true + CARGO_PROFILE_RELEASE_LTO: thin + run: rustup component add rustfmt && cargo build --release # Extract metadata (tags, labels) for Docker # https://github.com/docker/metadata-action @@ -210,7 +214,6 @@ jobs: docker run --rm ${{ env.IMAGE }} gw-tools --version docker run --rm ${{ env.IMAGE }} ckb --version docker run --rm ${{ env.IMAGE }} ckb-cli --version - docker run --rm ${{ env.IMAGE }} ckb-indexer --version docker run --rm ${{ env.IMAGE }} find /scripts -type f -exec sha1sum {} \; - name: Record image info to the outputs of this jobs