@@ -269,12 +269,39 @@ jobs:
269269 ${{ secrets.JFROG_REGISTRY || 'dummy.io' }}/hpccpl-docker-local/platform-core-ln:${{ steps.vars.outputs.hpcc_version }}
270270 cache-from : |
271271 type=registry,ref=hpccsystems/platform-core-${{ inputs.os }}:${{ steps.vars.outputs.candidate_base_branch }}
272+
273+ - name : Locate withsymbols_k8s deb file
274+ if : ${{ inputs.build-docker-image}}
275+ id : ln-container-withsymbols
276+ run : |
277+ withsymbols_k8s_pkg_path=$(ls -t ${{ steps.vars.outputs.folder_build }}/*64_withsymbols_k8s.deb 2>/dev/null | head -1)
278+ withsymbols_k8s_pkg_file=$(basename "$withsymbols_k8s_pkg_path")
279+ echo "withsymbols_k8s_pkg_file=$withsymbols_k8s_pkg_file" >> $GITHUB_OUTPUT
280+ echo "$withsymbols_k8s_pkg_file"
272281
282+ - name : Create Docker Image With Symbols
283+ uses : docker/build-push-action@v5
284+ if : ${{ inputs.build-docker-image }}
285+ with :
286+ builder : ${{ steps.buildx.outputs.name }}
287+ file : ${{ steps.vars.outputs.folder_platform }}/dockerfiles/platform-core-${{ inputs.os }}/Dockerfile
288+ context : ${{ steps.vars.outputs.folder_build }}
289+ push : false
290+ load : true
291+ build-args : |
292+ PKG_FILE=${{ steps.ln-container-withsymbols.outputs.withsymbols_k8s_pkg_file }}
293+ tags : |
294+ ${{ secrets.JFROG_REGISTRY || 'dummy.io' }}/hpccpl-docker-local/platform-core-ln-withsymbols:${{ steps.vars.outputs.hpcc_version }}
295+ cache-from : |
296+ type=registry,ref=hpccsystems/platform-core-${{ inputs.os }}:${{ steps.vars.outputs.candidate_base_branch }}
297+
273298 - name : JFrog Docker Push and Publish
274299 if : ${{ inputs.build-docker-image && github.repository_owner == 'hpcc-systems' }}
275300 run : |
276301 jf docker push ${{ secrets.JFROG_REGISTRY || 'dummy.io' }}/hpccpl-docker-local/platform-core-ln:${{ steps.vars.outputs.hpcc_version }} --build-name=platform-core-ln --build-number=${{ steps.vars.outputs.hpcc_version }} --project=hpccpl
277302 jf rt bp platform-core-ln ${{ steps.vars.outputs.hpcc_version }} --project=hpccpl
303+ jf docker push ${{ secrets.JFROG_REGISTRY || 'dummy.io' }}/hpccpl-docker-local/platform-core-ln-withsymbols:${{ steps.vars.outputs.hpcc_version }} --build-name=platform-core-ln-withsymbols --build-number=${{ steps.vars.outputs.hpcc_version }} --project=hpccpl
304+ jf rt bp platform-core-ln-withsymbols ${{ steps.vars.outputs.hpcc_version }} --project=hpccpl
278305
279306 - name : Cleanup Environment
280307 if : always()
0 commit comments