Merge pull request #852 from autonomys/feat/add-sub-query-dictionary #142
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-general: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/general-squid | |
- name: Push processor image | |
run: docker push $PROCESSOR_NAME |