Skip to content

Commit

Permalink
chore(ci): build bridge withdrawer images (#1156)
Browse files Browse the repository at this point in the history
## Summary
Adds image build for bridge withdrawer to `evm-bridge-withdrawer`
package.
  • Loading branch information
joroshiba authored Jun 5, 2024
1 parent 61fa9ce commit 2958a0e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
- conductor
- sequencer
- sequencer-relayer
- evm-bridge-withdrawer
merge_group:
push:
branches:
Expand Down Expand Up @@ -97,6 +98,21 @@ jobs:
tag: ${{ inputs.tag }}
secrets: inherit

evm-bridge-withdrawer:
needs: run_checker
if: needs.run_checker.outputs.run_docker == 'true' || (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'evm-bridge-withdrawer')
uses: "./.github/workflows/reusable-docker-build.yml"
permissions:
contents: read
id-token: write
packages: write
with:
depot-project-id: dl81f3fc6x
package-name: evm-bridge-withdrawer
target-binary: astria-bridge-withdrawer
tag: ${{ inputs.tag }}
secrets: inherit

smoke-test:
needs: [run_checker, composer, conductor, sequencer, sequencer-relayer]
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'astriaorg/astria') && (github.event_name == 'merge_group' || needs.run_checker.outputs.run_docker == 'true')
Expand Down Expand Up @@ -129,7 +145,7 @@ jobs:

docker:
if: ${{ always() && !cancelled() }}
needs: [composer, conductor, sequencer, sequencer-relayer, smoke-test]
needs: [composer, conductor, sequencer, sequencer-relayer, evm-bridge-withdrawer, smoke-test]
uses: ./.github/workflows/reusable-success.yml
with:
success: ${{ !contains(needs.*.result, 'failure') }}

0 comments on commit 2958a0e

Please sign in to comment.