Set BLOCKSCOUT_VERSION env in GA config

pull/7144/head
Viktor Baranov 2 years ago
parent c7ce72a9c6
commit a2eaeaef3a
  1. 3
      .github/workflows/publish-docker-image-every-push.yml
  2. 3
      .github/workflows/publish-docker-image-release.yml
  3. 2
      docker/Dockerfile

@ -56,8 +56,6 @@ 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
@ -67,6 +65,7 @@ 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,8 +53,6 @@ jobs:
platforms: |
linux/arm64
linux/amd64
args: |
BLOCKSCOUT_VERSION=v{{ env.RELEASE_VERSION }}-beta
build-args: |
CACHE_EXCHANGE_RATES_PERIOD=
DISABLE_READ_API=false
@ -64,6 +62,7 @@ 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

@ -36,6 +36,8 @@ ARG MIXPANEL_TOKEN
ARG MIXPANEL_URL
ARG AMPLITUDE_API_KEY
ARG AMPLITUDE_URL
ARG BLOCKSCOUT_VERSION
ENV BLOCKSCOUT_VERSION=${BLOCKSCOUT_VERSION}
# Cache elixir deps
ADD mix.exs mix.lock ./

Loading…
Cancel
Save