add py script to verify total rewards amount #118
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: Create and publish image | |
on: | |
push: | |
branches: | |
- main | |
- og-token-support | |
- server-node-operator-sbt | |
- add-sbt-report | |
- event-indexer | |
tags: | |
- v* | |
jobs: | |
build_and_publish_db: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: docker/metadata-action@v3 | |
id: meta | |
with: | |
images: ghcr.io/ambrosus/airdao-gov-portal-db | |
- name: Build and push | |
uses: docker/build-push-action@v2 | |
with: | |
file: Dockerfile_db | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
build_and_publish_verifier: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: docker/metadata-action@v3 | |
id: meta | |
with: | |
images: ghcr.io/ambrosus/airdao-gov-user-verifier | |
- name: Build and push | |
uses: docker/build-push-action@v2 | |
with: | |
file: Dockerfile_verifier | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
build_and_publish_mailer: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: docker/metadata-action@v3 | |
id: meta | |
with: | |
images: ghcr.io/ambrosus/airdao-gov-user-mailer | |
- name: Build and push | |
uses: docker/build-push-action@v2 | |
with: | |
file: Dockerfile_mailer | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
build_and_publish_indexer: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: docker/metadata-action@v3 | |
id: meta | |
with: | |
images: ghcr.io/ambrosus/airdao-event-indexer | |
- name: Build and push | |
uses: docker/build-push-action@v2 | |
with: | |
file: Dockerfile_indexer | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} |