File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 99 description : " The backend environment we are building for (API calls are pointed to). This should be one of (development, staging, production)."
1010 type : string
1111 required : true
12+ deploy-namespace :
13+ description : " The Kubernetes namespace to deploy the service to."
14+ type : string
15+ required : false
1216 docker-build-args :
1317 description : " Extra args passed to 'docker build'."
1418 type : string
6367 AWS_REGION : us-east-1
6468 steps :
6569 - uses : actions/checkout@v4
70+ with :
71+ ref : ${{ inputs.docker-image-ref }}
6672 # Build via docker-bake if a bakefile is specified
6773 - if : ${{ contains(matrix.dockerfile, '.hcl') }}
6874 uses : mindsdb/github-actions/docker-bake@main
@@ -114,7 +120,7 @@ jobs:
114120 # Do the actual deployment
115121 with :
116122 environment-slug : ${{matrix.deploy-env}}
117- k8s-namespace : ${{matrix.deploy-env}}
123+ k8s-namespace : ${{inputs.deploy-namespace || matrix.deploy-env}}
118124 image-tag : ${{ inputs.stage-name }}-${{ github.sha }}
119125 timeout : 600s
120126 # We need to wait till deployment is finished here, since the calling workflow might test the deployment env once this job is done
You can’t perform that action at this time.
0 commit comments