Skip to content

Commit

Permalink
debug: test geth-ethereum-coprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
0xawaz committed Nov 11, 2024
1 parent 6296733 commit 8105bb5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/common-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fhevm-geth-coprocessor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8105bb5

Please sign in to comment.