ci: enable push for current branch #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "fhEVM Coprocessor Docker Image" | |
on: | |
push: | |
branches: | |
- main | |
- temp-fix-coprocessor-crash | |
paths: | |
- .github/workflows/fhevm-coprocessor.yml | |
- .github/workflows/common-docker.yml | |
- fhevm-engine/coprocessor/** | |
- fhevm-engine/scheduler/** | |
- fhevm-engine/.sqlx | |
- proto/** | |
release: | |
types: | |
- published | |
concurrency: | |
group: fhevm-coprocessor-${{ github.ref_name }} | |
cancel-in-progress: false | |
jobs: | |
docker-coprocessor: | |
uses: ./.github/workflows/common-docker.yml | |
permissions: | |
contents: "read" | |
id-token: "write" | |
packages: "write" | |
with: | |
working-directory: "." | |
push_image: true | |
image-name: "fhevm-coprocessor" | |
generate-dev-image: false | |
docker-file: "fhevm-engine/coprocessor/Dockerfile" | |
arm-build: true | |
secrets: | |
BLOCKCHAIN_ACTIONS_TOKEN: ${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }} | |
GRAVITON_BUILDER_SSH_PRIVATE_KEY: ${{ secrets.GRAVITON_BUILDER_SSH_PRIVATE_KEY }} | |
done: | |
runs-on: ubuntu-latest | |
name: Pipeline Done | |
steps: | |
- name: Success | |
run: echo Pipeline Done | |
needs: | |
- docker-coprocessor |