|
@@ -14,6 +14,13 @@ jobs:
|
|
|
strategy:
|
|
|
matrix:
|
|
|
runtime_profile: ['STAGING', 'PLAYGROUND', 'TESTING']
|
|
|
+ include:
|
|
|
+ - runtime_profile: 'STAGING'
|
|
|
+ cargo_features: 'staging_runtime'
|
|
|
+ - runtime_profile: 'PLAYGROUND'
|
|
|
+ cargo_features: 'playground_runtime'
|
|
|
+ - runtime_profile: 'TESTING'
|
|
|
+ cargo_features: 'testing_runtime'
|
|
|
env:
|
|
|
RUNTIME_PROFILE: ${{ matrix.runtime_profile }}
|
|
|
|
|
@@ -50,6 +57,7 @@ jobs:
|
|
|
context: .
|
|
|
file: joystream-node.Dockerfile
|
|
|
platforms: linux/amd64
|
|
|
+ build_args: CARGO_FEATURES=${{ matrix.cargo_features }}
|
|
|
push: true
|
|
|
tags: ${{ env.REPOSITORY }}:${{ steps.compute_shasum.outputs.shasum }}
|
|
|
if: ${{ steps.compute_image_exists.outputs.image_exists == 1 }}
|