Skip to content

Commit

Permalink
build: add db-migration docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
0xawaz committed Nov 25, 2024
1 parent 44bd8eb commit 44b4d29
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/fhevm-db-migration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "fhEVM DB migtaion Docker Image"

on:
push:
branches:
- main
- ci/db-migration
paths:
- .github/workflows/fhevm-coprocessor.yml
- .github/workflows/common-docker.yml
- fhevm-engine/fhevm-db/**
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: ${{ github.event_name == 'release' || github.ref_name == 'main' }}
image-name: "fhevm-db-migration"
generate-dev-image: false
docker-file: "fhevm-engine/fhevm-db/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

0 comments on commit 44b4d29

Please sign in to comment.