feat(provider): add cached DA oracles for bedrock/nitro #182
Workflow file for this run
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: Docker release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
required: true | |
type: string | |
push: | |
tags: | |
- v*.*.* | |
env: | |
CARGO_TERM_COLOR: always | |
DOCKER_IMAGE_NAME: alchemyplatform/rundler | |
jobs: | |
build: | |
name: build and push | |
runs-on: ubuntu-22.04 | |
permissions: | |
packages: write | |
contents: read | |
steps: | |
- name: Checkout sources | |
uses: actions/4 | |
with: | |
submodules: recursive | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
toolchain: 1.79.0 | |
- name: Install toolchain (nightly) | |
run: rustup toolchain add nightly --component rustfmt --profile minimal | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- uses: taiki-e/install-action@cross | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: alchemyplatform | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Set up Docker builder | |
run: | | |
docker run --privileged --rm tonistiigi/binfmt --install arm64,amd64 | |
docker buildx create --use --name cross-builder | |
- name: Build and push image | |
run: | | |
if [ -n "${{ github.event.inputs.version }}" ]; then | |
sudo -E env "PATH=$PATH" make GIT_TAG="${{ github.event.inputs.version }}" docker-build | |
else | |
sudo -E env "PATH=$PATH" make docker-build-latest | |
fi |