add parquet_token_v2_processor #2478
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: "Build Docker Images" | |
on: | |
# Allow us to run this specific workflow without a PR | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
# aptos-indexer-processors network-specific release branches | |
- aptos-indexer-processors-devnet | |
- aptos-indexer-processors-testnet | |
- aptos-indexer-processors-mainnet | |
# cancel redundant builds | |
concurrency: | |
# for push and workflow_dispatch events we use `github.sha` in the concurrency group and don't really cancel each other out/limit concurrency | |
# for pull_request events newer jobs cancel earlier jobs to save on CI etc. | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.sha || github.head_ref || github.ref }} | |
cancel-in-progress: true | |
env: | |
GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
permissions: | |
contents: read | |
id-token: write #required for GCP Workload Identity federation which we use to login into Google Artifact Registry | |
jobs: | |
Build: | |
strategy: | |
matrix: | |
example: [rust] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/docker-setup | |
with: | |
GCP_SERVICE_ACCOUNT_EMAIL: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }} | |
GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} | |
- run: ./scripts/build-and-push-images.sh ${{ matrix.example }} |