From 8105bb5720f80db96cf0ddb7a71896849576d2d1 Mon Sep 17 00:00:00 2001 From: 0xawaz Date: Mon, 11 Nov 2024 13:14:01 +0100 Subject: [PATCH] debug: test geth-ethereum-coprocessor --- .github/workflows/common-docker.yml | 26 ++++++++++---------- .github/workflows/fhevm-geth-coprocessor.yml | 2 +- Dockerfile | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/common-docker.yml b/.github/workflows/common-docker.yml index f312a1099..92113e1e6 100644 --- a/.github/workflows/common-docker.yml +++ b/.github/workflows/common-docker.yml @@ -140,19 +140,19 @@ jobs: run: | echo "DOCKER_TAG_IMAGE=${{ github.ref_name }}" >> "$GITHUB_ENV" - # - name: Docker Build and Push - # uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0 - # with: - # context: ${{ inputs.docker-context }} - # platforms: linux/amd64,linux/arm64 - # build-args: | - # BLOCKCHAIN_ACTIONS_TOKEN=${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }} - # file: ${{ inputs.working-directory }}/${{ inputs.docker-file }} - # push: ${{ inputs.push_image }} - # pull: false - # tags: ghcr.io/zama-ai/${{ inputs.image-name }}:${{env.DOCKER_TAG_IMAGE }},ghcr.io/zama-ai/${{ inputs.image-name }}:latest - # cache-from: ${{ inputs.cache-from }} - # cache-to: ${{ inputs.cache-to }} + - name: Docker Build and Push + uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0 + with: + context: ${{ inputs.docker-context }} + platforms: linux/amd64,linux/arm64 + build-args: | + BLOCKCHAIN_ACTIONS_TOKEN=${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }} + file: ${{ inputs.working-directory }}/${{ inputs.docker-file }} + push: ${{ inputs.push_image }} + pull: false + tags: ghcr.io/zama-ai/${{ inputs.image-name }}:${{env.DOCKER_TAG_IMAGE }},ghcr.io/zama-ai/${{ inputs.image-name }}:latest + cache-from: ${{ inputs.cache-from }} + cache-to: ${{ inputs.cache-to }} - name: Extract Docker metadata if: ${{ inputs.generate-dev-image }} diff --git a/.github/workflows/fhevm-geth-coprocessor.yml b/.github/workflows/fhevm-geth-coprocessor.yml index b1e416345..98649de70 100644 --- a/.github/workflows/fhevm-geth-coprocessor.yml +++ b/.github/workflows/fhevm-geth-coprocessor.yml @@ -26,7 +26,7 @@ jobs: push_image: true image-name: "geth-coprocessor" image-dev-name: "geth-coprocessor-devnode" - generate-dev-image: true + generate-dev-image: false docker-file: "Dockerfile" docker-file-dev: "Dockerfile.devnode" image-dev-description: "geth coprocessor devnode image" diff --git a/Dockerfile b/Dockerfile index a138fd3ef..c9a18e179 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /go-ethereum # Copy codebase and build Geth COPY . . -RUN go run build/ci.go install -static ./cmd/geth +RUN go run -buildvcs=false build/ci.go install -static ./cmd/geth # Final Stage FROM alpine:3.20.3