[ECO-2420] Refactor claim link module for ease of DevOps (#360) #29
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
--- | |
jobs: | |
build-push: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: 'actions/checkout@v4' | |
- run: 'git submodule update --init --recursive src/rust/processor' | |
- id: 'metadata' | |
uses: 'docker/metadata-action@v5' | |
with: | |
images: 'econialabs/emojicoin-dot-fun-indexer-broker' | |
tags: | | |
type=match,pattern=broker-v(.*),group=1 | |
- uses: 'docker/setup-qemu-action@v3' | |
- uses: 'docker/setup-buildx-action@v3' | |
- uses: 'docker/login-action@v3' | |
with: | |
password: '${{ secrets.DOCKERHUB_TOKEN }}' | |
username: '${{ secrets.DOCKERHUB_USERNAME }}' | |
- uses: 'docker/build-push-action@v6' | |
with: | |
build-args: 'FEATURES=ws' | |
cache-from: 'type=gha' | |
cache-to: 'type=gha,mode=max' | |
context: 'src/rust' | |
file: 'src/rust/broker/Dockerfile' | |
labels: '${{ steps.metadata.outputs.labels }}' | |
platforms: '${{ matrix.platform }}' | |
push: 'true' | |
tags: '${{ steps.metadata.outputs.tags }}' | |
strategy: | |
matrix: | |
platform: | |
- 'linux/amd64' | |
- 'linux/arm64' | |
timeout-minutes: 360 | |
name: 'Build broker Docker image and push to Docker Hub' | |
'on': | |
push: | |
tags: | |
- 'broker-v*' | |
... |