reusable workflow outputs can silently fail to propagate in certain conditions

Now, STORAGEDOCKERIMAGE is:
- logosstorage/logos-storage-nim:latest-dist-tests for workflow_dispatch on a branch
- logosstorage/logos-storage-nim:v0.1.8-dist-tests for a v0.1.8 tag push
This commit is contained in:
E M 2026-04-24 10:27:59 +10:00
parent 5c22e5d7bd
commit 4e8c781299
No known key found for this signature in database

View File

@ -214,7 +214,7 @@ jobs:
TF_VAR_region: europe-west4
TF_VAR_zone: europe-west4-b
TF_PLUGIN_CACHE_DIR: ~/.terraform.d/plugin-cache
STORAGEDOCKERIMAGE: ${{ needs.build-docker-dist-tests.outputs.logos_storage_image }}
STORAGEDOCKERIMAGE: ${{ github.ref_type == 'tag' && format('logosstorage/logos-storage-nim:{0}-dist-tests', github.ref_name) || 'logosstorage/logos-storage-nim:latest-dist-tests' }}
TEST_TYPE: release-tests
BRANCH: ${{ inputs.branch || 'master' }}
SOURCE: https://github.com/logos-storage/logos-storage-nim-cs-dist-tests