You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.9 KiB
88 lines
2.9 KiB
7 months ago
|
name: Release for SUAVE
|
||
1 year ago
|
|
||
|
on:
|
||
7 months ago
|
workflow_dispatch:
|
||
1 year ago
|
release:
|
||
|
types: [published]
|
||
|
|
||
|
env:
|
||
10 months ago
|
OTP_VERSION: ${{ vars.OTP_VERSION }}
|
||
|
ELIXIR_VERSION: ${{ vars.ELIXIR_VERSION }}
|
||
1 year ago
|
|
||
|
jobs:
|
||
|
push_to_registry:
|
||
|
name: Push Docker image to Docker Hub
|
||
|
runs-on: ubuntu-latest
|
||
|
env:
|
||
10 months ago
|
RELEASE_VERSION: ${{ vars.RELEASE_VERSION }}
|
||
1 year ago
|
steps:
|
||
10 months ago
|
- uses: actions/checkout@v4
|
||
|
- name: Setup repo
|
||
|
uses: ./.github/actions/setup-repo
|
||
1 year ago
|
with:
|
||
10 months ago
|
docker-username: ${{ secrets.DOCKER_USERNAME }}
|
||
|
docker-password: ${{ secrets.DOCKER_PASSWORD }}
|
||
1 year ago
|
|
||
7 months ago
|
- name: Build and push Docker image for SUAVE (indexer + API)
|
||
1 year ago
|
uses: docker/build-push-action@v5
|
||
|
with:
|
||
|
context: .
|
||
|
file: ./docker/Dockerfile
|
||
|
push: true
|
||
7 months ago
|
tags: blockscout/blockscout-suave:latest, blockscout/blockscout-suave:${{ env.RELEASE_VERSION }}
|
||
1 year ago
|
platforms: |
|
||
|
linux/amd64
|
||
|
linux/arm64/v8
|
||
|
build-args: |
|
||
|
DISABLE_WEBAPP=false
|
||
|
API_V1_READ_METHODS_DISABLED=false
|
||
|
API_V1_WRITE_METHODS_DISABLED=false
|
||
7 months ago
|
CACHE_EXCHANGE_RATES_PERIOD=
|
||
1 year ago
|
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
|
||
|
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
|
||
7 months ago
|
ADMIN_PANEL_ENABLED=false
|
||
1 year ago
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-beta
|
||
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
|
||
7 months ago
|
CHAIN_TYPE=suave
|
||
7 months ago
|
|
||
7 months ago
|
- name: Build and push Docker image for SUAVE (indexer)
|
||
10 months ago
|
uses: docker/build-push-action@v5
|
||
|
with:
|
||
|
context: .
|
||
|
file: ./docker/Dockerfile
|
||
|
push: true
|
||
7 months ago
|
tags: blockscout/blockscout-suave:${{ env.RELEASE_VERSION }}-indexer
|
||
10 months ago
|
platforms: |
|
||
|
linux/amd64
|
||
|
linux/arm64/v8
|
||
|
build-args: |
|
||
7 months ago
|
DISABLE_API=true
|
||
|
DISABLE_WEBAPP=true
|
||
10 months ago
|
CACHE_EXCHANGE_RATES_PERIOD=
|
||
|
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
|
||
|
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
|
||
7 months ago
|
ADMIN_PANEL_ENABLED=false
|
||
10 months ago
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-beta
|
||
10 months ago
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
|
||
7 months ago
|
CHAIN_TYPE=suave
|
||
7 months ago
|
|
||
7 months ago
|
- name: Build and push Docker image for SUAVE (API)
|
||
10 months ago
|
uses: docker/build-push-action@v5
|
||
|
with:
|
||
|
context: .
|
||
|
file: ./docker/Dockerfile
|
||
|
push: true
|
||
7 months ago
|
tags: blockscout/blockscout-suave:${{ env.RELEASE_VERSION }}-api
|
||
10 months ago
|
platforms: |
|
||
|
linux/amd64
|
||
|
linux/arm64/v8
|
||
|
build-args: |
|
||
7 months ago
|
DISABLE_INDEXER=true
|
||
|
DISABLE_WEBAPP=true
|
||
10 months ago
|
CACHE_EXCHANGE_RATES_PERIOD=
|
||
|
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
|
||
|
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
|
||
7 months ago
|
ADMIN_PANEL_ENABLED=false
|
||
10 months ago
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-beta
|
||
7 months ago
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
|
||
7 months ago
|
CHAIN_TYPE=suave
|