File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Publish - NeMo Guardrails Server Image
22on :
33 push :
44 branches :
5- - main
5+ - develop
66 tags :
77 - v*
88 paths :
@@ -20,15 +20,15 @@ jobs:
2020 contents : read
2121 pull-requests : write
2222 security-events : write
23- steps : # Assign context variable for various action contexts (tag, main , CI)
23+ steps : # Assign context variable for various action contexts (tag, develop , CI)
2424 - name : Assigning CI context
25- if : github.head_ref != '' && github.head_ref != 'main ' && !startsWith(github.ref, 'refs/tags/v')
25+ if : github.head_ref != '' && github.head_ref != 'develop ' && !startsWith(github.ref, 'refs/tags/v')
2626 run : echo "BUILD_CONTEXT=ci" >> $GITHUB_ENV
27- - name : Assigning tag context
27+ - name : Assigning new- tag context
2828 if : github.head_ref == '' && startsWith(github.ref, 'refs/tags/v')
2929 run : echo "BUILD_CONTEXT=tag" >> $GITHUB_ENV
30- - name : Assigning main context
31- if : github.head_ref == '' && github.ref == 'refs/heads/main '
30+ - name : Assigning develop-branch context
31+ if : github.head_ref == '' && github.ref == 'refs/heads/develop '
3232 run : echo "BUILD_CONTEXT=main" >> $GITHUB_ENV
3333
3434 # Run checkouts
You can’t perform that action at this time.
0 commit comments