diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5684010..1c39444 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -121,15 +121,15 @@ jobs: - name: Build and push the Docker image using buildx run: | - # Convert labels to individual --label flags + # Convert labels to individual --label flags with proper quoting labels="" while IFS= read -r line; do - labels="$labels --label $line" + labels="$labels --label \"${line}\"" done <<< "${{ steps.meta.outputs.labels }}" - + # Debug: Print the constructed docker buildx build command echo "docker buildx build --platform ${{ matrix.platform }} --file nethermind/Dockerfile --tag ${{ steps.meta.outputs.tags }} $labels --build-arg BUILD_CONFIG=release --build-arg TARGETARCH=${{ matrix.platform }} . --push" - + # Run the docker buildx build command docker buildx build \ --platform ${{ matrix.platform }} \ @@ -139,4 +139,3 @@ jobs: --build-arg BUILD_CONFIG=release \ --build-arg TARGETARCH=${{ matrix.platform }} \ . --push - diff --git a/docker-compose.yml b/docker-compose.yml index 9068905..fd39f1b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,8 +11,7 @@ services: volumes: - ${HOST_DATA_DIR}:/data env_file: - # select your network here: -# - .env.sepolia + - .env.sepolia # - .env.mainnet node: build: @@ -28,6 +27,5 @@ services: - "6060:6060" # pprof command: [ "bash", "./op-node-entrypoint" ] env_file: - # select your network here: -# - .env.sepolia + - .env.sepolia # - .env.mainnet