Use verify account signature function from SDK #363
Workflow file for this run
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: Build Docker Containers | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
workflow_dispatch: # allows manual trigger | |
jobs: | |
build: | |
name: Building Docker Containers | |
# Don't run on draft pull requests | |
if: ${{ !github.event.pull_request.draft }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: | |
- {dir: euroe-demo, dockerfile: scripts/Dockerfile} | |
- {dir: ., dockerfile: gallery/Dockerfile} | |
- {dir: signMessage, dockerfile: Dockerfile} | |
- {dir: simpleAgeVerification, dockerfile: Dockerfile} | |
- {dir: ., dockerfile: sponsoredTransactions/Dockerfile} | |
- {dir: ., dockerfile: sponsoredTransactionsAuction/Dockerfile} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Build image | |
working-directory: ${{ matrix.image.dir }} | |
run: | |
docker build -f ${{ matrix.image.dockerfile }} . | |
compose-build: | |
name: Building with docker compose | |
# Don't run on draft pull requests | |
if: ${{ !github.event.pull_request.draft }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
directories: | |
- trackAndTrace | |
- compliant-reward-distribution | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Build with docker compose | |
working-directory: ${{ matrix.directories }} | |
env: | |
# Dummy values are set for the `trackAndTrace` run because `docker compose build` | |
# enforces the presence of environment variables during the build phase, | |
# even though these variables are only needed at runtime. | |
TRACK_AND_TRACE_CONTRACT_ADDRESS: "<8351,0>" | |
TRACK_AND_TRACE_PRIVATE_KEY_FILE: "./trackAndTrace/README.md" | |
run: | |
docker compose build |