File tree Expand file tree Collapse file tree 1 file changed +4
-26
lines changed
Expand file tree Collapse file tree 1 file changed +4
-26
lines changed Original file line number Diff line number Diff line change 1111 description : ' Comma-separated list of Docker platforms'
1212 type : string
1313 default : ' linux/amd64,linux/arm64'
14+ required : true
1415 docker_image_name :
15- description : ' Docker image name to use'
1616 type : string
1717 required : true
1818 integration_name :
4242 run_nix_unit_tests :
4343 type : boolean
4444 required : false
45- default : true
45+ default : false
4646 run_windows_unit_tests :
4747 type : boolean
4848 required : false
49- default : true
50- use_build_push_action :
51- type : boolean
52- required : true
49+ default : false
5350 setup_aws_creds :
5451 type : boolean
5552 required : false
@@ -182,26 +179,7 @@ jobs:
182179 aws-access-key-id : ${{ secrets.aws_access_key_id }}
183180 aws-secret-access-key : ${{ secrets.aws_access_key_secret }}
184181 aws-region : us-east-1
185-
186- - name : Build and push versioned docker image
187- if : ${{ inputs.use_build_push_action }}
188- uses : docker/build-push-action@v6
189- with :
190- platforms : ${{ env.DOCKER_PLATFORMS }}
191- context : .
192- push : true
193- tags : |
194- ${{ env.DOCKER_IMAGE_NAME }}:${{ env.VERSION }}${{ env.TAG_SUFFIX }}
195-
196- - name : Push latest tag
197- if : ${{ ! github.event.release.prerelease && inputs.use_build_push_action }}
198- uses : docker/build-push-action@v6
199- with :
200- platforms : ${{ env.DOCKER_PLATFORMS }}
201- context : .
202- push : true
203- tags : ${{ env.DOCKER_IMAGE_NAME }}:latest
204-
182+
205183 - name : Run image release commands
206184 run : ${{ inputs.release_command_sh }}
207185 shell : bash
You can’t perform that action at this time.
0 commit comments