Skip to content

feat(coprocessor): implement S3 health-check and retry-upload algorithm #77

feat(coprocessor): implement S3 health-check and retry-upload algorithm

feat(coprocessor): implement S3 health-check and retry-upload algorithm #77

name: Docker - Fhevm Host Contracts
on:
pull_request:
push:
branches:
- main
release:
types:
- published
concurrency:
group: docker-fhevm-contracts-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
check-changes:
permissions:
actions: 'read'
contents: 'read'
pull-requests: 'read'
runs-on: ubuntu-latest
outputs:
changes-host-contracts: ${{ steps.filter.outputs.host-contracts }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
filters: |
host-contracts:
- .github/workflows/host-contracts-docker-build.yml
- host-contracts/**
docker-fhevm-contracts:
needs: check-changes
if: ${{ needs.check-changes.outputs.changes-host-contracts == 'true' || github.event_name == 'release' }}
uses: zama-ai/ci-templates/.github/workflows/docker_common.yml@44333c96991d6747e0bef6a3308bfd98b20390f8 # main
secrets:
GHCR_ACTION_TOKEN: ${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }}
GRAVITON_BUILDER_SSH_PRIVATE_KEY: ${{ secrets.GRAVITON_BUILDER_SSH_PRIVATE_KEY }}
permissions:
contents: "read"
id-token: "write"
packages: "write"
with:
working-directory: "host-contracts"
docker-context: "host-contracts"
push_image: true
image-name: "fhevm/host-contracts"
docker-file: "Dockerfile"
arm-build: true