Set BLOCKSCOUT_VERSION arg in GA config

pull/7144/head
Viktor Baranov 2 years ago
parent 0d6b6e4cab
commit c7ce72a9c6
  1. 3
      .github/workflows/publish-docker-image-every-push.yml
  2. 3
      .github/workflows/publish-docker-image-release.yml
  3. 2
      docker-compose/envs/common-blockscout.env

@ -56,6 +56,8 @@ jobs:
cache-from: type=registry,ref=blockscout/blockscout:buildcache
cache-to: type=registry,ref=blockscout/blockscout:buildcache,mode=max
tags: blockscout/blockscout:latest, blockscout/blockscout:${{ env.RELEASE_VERSION }}.commit.${{ env.SHORT_SHA }}
args: |
BLOCKSCOUT_VERSION=v{{ env.RELEASE_VERSION }}-beta.+commit.${{ env.SHORT_SHA }}
build-args: |
CACHE_EXCHANGE_RATES_PERIOD=
DISABLE_READ_API=false
@ -65,7 +67,6 @@ jobs:
WOBSERVER_ENABLED=false
ADMIN_PANEL_ENABLED=false
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
BLOCKSCOUT_VERSION=v{{ env.RELEASE_VERSION }}-beta.+commit.${{ env.SHORT_SHA }}
- name: Build and push Docker image for frontend
uses: docker/build-push-action@v3

@ -53,6 +53,8 @@ jobs:
platforms: |
linux/arm64
linux/amd64
args: |
BLOCKSCOUT_VERSION=v{{ env.RELEASE_VERSION }}-beta
build-args: |
CACHE_EXCHANGE_RATES_PERIOD=
DISABLE_READ_API=false
@ -62,7 +64,6 @@ jobs:
WOBSERVER_ENABLED=false
ADMIN_PANEL_ENABLED=
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
BLOCKSCOUT_VERSION=v{{ env.RELEASE_VERSION }}-beta
merge-master-after-release:
name: Merge 'master' to specific branch after release

@ -47,7 +47,7 @@ ECTO_USE_SSL=false
# SPANDEX_SYNC_THRESHOLD=
HEART_BEAT_TIMEOUT=30
# HEART_COMMAND=
BLOCKSCOUT_VERSION=
#BLOCKSCOUT_VERSION=
RELEASE_LINK=
BLOCK_TRANSFORMER=base
# GRAPHIQL_TRANSACTION=

Loading…
Cancel
Save