Skip to content

Merge pull request #797 from autonomys/feat/addLeaderboardSquid #138

Merge pull request #797 from autonomys/feat/addLeaderboardSquid

Merge pull request #797 from autonomys/feat/addLeaderboardSquid #138

name: Update rewards container image
on:
push:
branches:
- production
- main
env:
PROCESSOR_NAME: ghcr.io/${{ github.repository_owner }}/blockexplorer-account:latest
jobs:
push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Log into registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Build processor image
run: docker build . --target processor -t squid-processor --tag $PROCESSOR_NAME
working-directory: indexers/account-squid
- name: Push processor image
run: docker push $PROCESSOR_NAME