File tree Expand file tree Collapse file tree 4 files changed +25
-18
lines changed
apps/webapp/app/runEngine/validators Expand file tree Collapse file tree 4 files changed +25
-18
lines changed Original file line number Diff line number Diff line change 1- name : " ⚒️ Publish Worker RE2 "
1+ name : " ⚒️ Publish Worker (v4) "
22
33on :
44 workflow_call :
@@ -85,11 +85,11 @@ jobs:
8585 REPOSITORY : ${{ steps.get_repository.outputs.repo }}
8686 IMAGE_TAG : ${{ steps.get_tag.outputs.tag }}
8787
88- - name : 🐙 Push 'v3' tag to GitHub Container Registry
89- if : steps.get_tag.outputs.is_semver == 'true'
90- run : |
91- docker tag infra_image "$REGISTRY/$REPOSITORY:v3"
92- docker push "$REGISTRY/$REPOSITORY:v3"
93- env :
94- REGISTRY : ghcr.io/triggerdotdev
95- REPOSITORY : ${{ steps.get_repository.outputs.repo }}
88+ # - name: 🐙 Push 'v3' tag to GitHub Container Registry
89+ # if: steps.get_tag.outputs.is_semver == 'true'
90+ # run: |
91+ # docker tag infra_image "$REGISTRY/$REPOSITORY:v3"
92+ # docker push "$REGISTRY/$REPOSITORY:v3"
93+ # env:
94+ # REGISTRY: ghcr.io/triggerdotdev
95+ # REPOSITORY: ${{ steps.get_repository.outputs.repo }}
Original file line number Diff line number Diff line change @@ -77,11 +77,11 @@ jobs:
7777 REPOSITORY : ${{ steps.get_repository.outputs.repo }}
7878 IMAGE_TAG : ${{ steps.get_tag.outputs.tag }}
7979
80- - name : 🐙 Push 'v3' tag to GitHub Container Registry
81- if : steps.get_tag.outputs.is_semver == 'true'
82- run : |
83- docker tag infra_image "$REGISTRY/$REPOSITORY:v3"
84- docker push "$REGISTRY/$REPOSITORY:v3"
85- env :
86- REGISTRY : ghcr.io/triggerdotdev
87- REPOSITORY : ${{ steps.get_repository.outputs.repo }}
80+ # - name: 🐙 Push 'v3' tag to GitHub Container Registry
81+ # if: steps.get_tag.outputs.is_semver == 'true'
82+ # run: |
83+ # docker tag infra_image "$REGISTRY/$REPOSITORY:v3"
84+ # docker push "$REGISTRY/$REPOSITORY:v3"
85+ # env:
86+ # REGISTRY: ghcr.io/triggerdotdev
87+ # REPOSITORY: ${{ steps.get_repository.outputs.repo }}
Original file line number Diff line number Diff line change 6868 secrets : inherit
6969 with :
7070 image_tag : ${{ inputs.image_tag }}
71+
72+ publish-worker-v4 :
73+ needs : [typecheck, units]
74+ uses : ./.github/workflows/publish-worker-v4.yml
75+ secrets : inherit
76+ with :
77+ image_tag : ${{ inputs.image_tag }}
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class DefaultTriggerTaskValidator implements TriggerTaskValidator {
4646
4747 const result = await getEntitlement ( environment . organizationId ) ;
4848
49- if ( ! result || result . hasAccess === false ) {
49+ if ( result && result . hasAccess === false ) {
5050 return {
5151 ok : false ,
5252 error : new OutOfEntitlementError ( ) ,
You can’t perform that action at this time.
0 commit comments