Merge pull request #797 from autonomys/feat/addLeaderboardSquid #138
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: 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 |