File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 description : ' Commit SHA for build (default: latest in branch)'
88 required : false
99 default : ' '
10+ build_jobs :
11+ description : ' Number of build jobs for Docker build (default: auto)'
12+ required : false
13+ default : ' 0'
14+ run_tests :
15+ description : ' Run tests during Docker build (0 or 1)'
16+ required : false
17+ default : ' 0'
1018
1119jobs :
1220 build :
4755 file : ./Dockerfile
4856 push : true
4957 no-cache : true
58+ build-args : |
59+ BUILD_JOBS=${{ github.event.inputs.build_jobs || '0' }}
60+ RUN_TESTS=${{ github.event.inputs.run_tests || '0' }}
5061 tags : |
5162 ${{ secrets.CI_REGISTRY }}/${{ secrets.CI_REGISTRY_REPO }}/${{ vars.SERVICE_NAME }}-${{ github.ref_name }}:${{ env.SERVICE_TAG }}
5263 ${{ secrets.CI_REGISTRY }}/${{ secrets.CI_REGISTRY_REPO }}/${{ vars.SERVICE_NAME }}-${{ github.ref_name }}:latest
You can’t perform that action at this time.
0 commit comments