diff --git a/.github/workflows/continous-delivery.yml b/.github/workflows/continous-delivery.yml index ecbf7ffd643..50a30bb1621 100644 --- a/.github/workflows/continous-delivery.yml +++ b/.github/workflows/continous-delivery.yml @@ -26,7 +26,7 @@ on: - published env: - NETWORK: Mainnet + DEFAULT_NETWORK: Mainnet GAR_BASE: us-docker.pkg.dev/zealous-zebra/zebra REGION: us-central1 ZONE: us-central1-a @@ -71,7 +71,7 @@ jobs: dockerfile_path: ./docker/Dockerfile dockerfile_target: runtime image_name: zebrad - network: Mainnet + network: ${{ inputs.network || env.DEFAULT_NETWORK }} checkpoint_sync: true rust_backtrace: '1' zebra_skip_ipv6_tests: '1' @@ -127,7 +127,7 @@ jobs: --container-mount-disk mount-path="/zebrad-cache",name=zebrad-cache-${{ env.GITHUB_SHA_SHORT }} \ --machine-type ${{ env.MACHINE_TYPE }} \ --scopes cloud-platform \ - --labels=app=zebrad,environment=prod,network=${{env.NETWORK}},github_ref=${{ env.GITHUB_REF_SLUG_URL }} \ + --labels=app=zebrad,environment=prod,network=${{ inputs.network || env.DEFAULT_NETWORK }},github_ref=${{ env.GITHUB_REF_SLUG_URL }} \ --tags zebrad # Check if our destination instance group exists already @@ -208,5 +208,5 @@ jobs: --container-mount-disk mount-path='/zebrad-cache',name=zebrad-cache-${{ env.GITHUB_SHA_SHORT }} \ --machine-type ${{ env.MACHINE_TYPE }} \ --zone ${{ env.ZONE }} \ - --labels=app=zebrad,environment=qa,network=${{env.NETWORK}},github_ref=${{ env.GITHUB_REF_SLUG_URL }} \ + --labels=app=zebrad,environment=qa,network=${{ inputs.network || env.DEFAULT_NETWORK }},github_ref=${{ env.GITHUB_REF_SLUG_URL }} \ --tags zebrad