Skip to content

Merge pull request #554 from subspace/feat/account-squid #19

Merge pull request #554 from subspace/feat/account-squid

Merge pull request #554 from subspace/feat/account-squid #19

name: Update rewards container image
on:
push:
branches:
- main
- staging
env:
PROCESSOR_NAME: ghcr.io/${{ github.repository_owner }}/blockexplorer-rewards: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: rewards-squid
- name: Push processor image
run: docker push $PROCESSOR_NAME