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.
111 lines
4.0 KiB
111 lines
4.0 KiB
6 months ago
|
name: Pre-release
|
||
1 year ago
|
|
||
|
on:
|
||
1 year ago
|
workflow_dispatch:
|
||
|
inputs:
|
||
|
number:
|
||
|
type: number
|
||
|
required: true
|
||
1 year ago
|
|
||
|
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
|
|
||
6 months ago
|
- name: Build & Push Core Docker image (indexer + API)
|
||
1 year ago
|
uses: docker/build-push-action@v5
|
||
|
with:
|
||
|
context: .
|
||
|
file: ./docker/Dockerfile
|
||
|
push: true
|
||
6 months ago
|
cache-from: type=registry,ref=blockscout/blockscout:buildcache
|
||
|
cache-to: type=registry,ref=blockscout/blockscout:buildcache,mode=max
|
||
|
tags: blockscout/blockscout:master, blockscout/blockscout:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
|
||
1 year ago
|
platforms: |
|
||
|
linux/amd64
|
||
6 months ago
|
linux/arm64/v8
|
||
1 year ago
|
build-args: |
|
||
|
DISABLE_WEBAPP=false
|
||
10 months ago
|
API_V1_READ_METHODS_DISABLED=false
|
||
|
API_V1_WRITE_METHODS_DISABLED=false
|
||
8 months ago
|
CACHE_EXCHANGE_RATES_PERIOD=
|
||
|
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
|
||
|
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
|
||
6 months ago
|
ADMIN_PANEL_ENABLED=false
|
||
|
DECODE_NOT_A_CONTRACT_CALLS=false
|
||
|
MIXPANEL_URL=
|
||
|
MIXPANEL_TOKEN=
|
||
|
AMPLITUDE_URL=
|
||
|
AMPLITUDE_API_KEY=
|
||
8 months ago
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
|
||
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
|
||
|
|
||
6 months ago
|
- name: Build & Push Core Docker image (indexer)
|
||
7 months ago
|
uses: docker/build-push-action@v5
|
||
|
with:
|
||
|
context: .
|
||
|
file: ./docker/Dockerfile
|
||
|
push: true
|
||
6 months ago
|
cache-from: type=registry,ref=blockscout/blockscout:buildcache
|
||
|
cache-to: type=registry,ref=blockscout/blockscout:buildcache,mode=max
|
||
|
tags: blockscout/blockscout:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-indexer
|
||
7 months ago
|
platforms: |
|
||
|
linux/amd64
|
||
6 months ago
|
linux/arm64/v8
|
||
7 months ago
|
build-args: |
|
||
6 months ago
|
DISABLE_API=true
|
||
|
DISABLE_WEBAPP=true
|
||
7 months ago
|
CACHE_EXCHANGE_RATES_PERIOD=
|
||
|
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
|
||
|
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
|
||
6 months ago
|
ADMIN_PANEL_ENABLED=false
|
||
|
DECODE_NOT_A_CONTRACT_CALLS=false
|
||
|
MIXPANEL_URL=
|
||
|
MIXPANEL_TOKEN=
|
||
|
AMPLITUDE_URL=
|
||
|
AMPLITUDE_API_KEY=
|
||
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
|
||
7 months ago
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
|
||
|
|
||
6 months ago
|
- name: Build & Push Core Docker image (API)
|
||
9 months ago
|
uses: docker/build-push-action@v5
|
||
|
with:
|
||
|
context: .
|
||
|
file: ./docker/Dockerfile
|
||
|
push: true
|
||
|
cache-from: type=registry,ref=blockscout/blockscout:buildcache
|
||
|
cache-to: type=registry,ref=blockscout/blockscout:buildcache,mode=max
|
||
6 months ago
|
tags: blockscout/blockscout:${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}-indexer
|
||
9 months ago
|
platforms: |
|
||
|
linux/amd64
|
||
|
linux/arm64/v8
|
||
|
build-args: |
|
||
6 months ago
|
DISABLE_INDEXER=true
|
||
|
DISABLE_WEBAPP=true
|
||
9 months ago
|
API_V1_READ_METHODS_DISABLED=false
|
||
|
API_V1_WRITE_METHODS_DISABLED=false
|
||
6 months ago
|
CACHE_EXCHANGE_RATES_PERIOD=
|
||
9 months ago
|
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
|
||
6 months ago
|
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
|
||
9 months ago
|
ADMIN_PANEL_ENABLED=false
|
||
|
DECODE_NOT_A_CONTRACT_CALLS=false
|
||
|
MIXPANEL_URL=
|
||
|
MIXPANEL_TOKEN=
|
||
|
AMPLITUDE_URL=
|
||
|
AMPLITUDE_API_KEY=
|
||
|
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-alpha.${{ inputs.number }}
|
||
6 months ago
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
|