File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,25 +62,25 @@ jobs:
6262 uses : ./.github/workflows/publish-webapp.yml
6363 secrets : inherit
6464 with :
65- image_tag : ${{ inputs.image_tag }}
65+ image_tag : ${{ inputs.image_tag != '' && inputs.image_tag || (github.ref_name == 'main' && github.sha || '') }}
6666
6767 publish-worker :
6868 needs : [typecheck]
6969 uses : ./.github/workflows/publish-worker.yml
7070 secrets : inherit
7171 with :
72- image_tag : ${{ inputs.image_tag }}
72+ image_tag : ${{ inputs.image_tag != '' && inputs.image_tag || (github.ref_name == 'main' && github.sha || '') }}
7373
7474 publish-worker-v4 :
7575 needs : [typecheck]
7676 uses : ./.github/workflows/publish-worker-v4.yml
7777 secrets : inherit
7878 with :
79- image_tag : ${{ inputs.image_tag }}
79+ image_tag : ${{ inputs.image_tag != '' && inputs.image_tag || (github.ref_name == 'main' && github.sha || '') }}
8080
8181 publish-gcp-images :
8282 needs : [typecheck, units]
8383 uses : ./.github/workflows/publish-gcp-images.yml
8484 secrets : inherit
8585 with :
86- image_tag : ${{ inputs.image_tag }}
86+ image_tag : ${{ inputs.image_tag != '' && inputs.image_tag || (github.ref_name == 'main' && github.sha || '') }}
You can’t perform that action at this time.
0 commit comments