Skip to content

Add workflow for building Docker image on commit to main #2

Add workflow for building Docker image on commit to main

Add workflow for building Docker image on commit to main #2

Workflow file for this run

---
name: "Build"
#on:
# push:
# branches:
# - main
on:
pull_request:
branches:
- main
jobs:
build:
name: "Build Docker image and push to Dockerhub"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- env:
GITHUB_TOKEN: ${{ secrets.DUNE_ENG_ACCESS_TOKEN }}
ECR_REGISTRY: public.ecr.aws/duneanalytics
ECR_REPOSITORY: blockchain-ingester
run: |
make image-build
make image-push