File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
actions/publish-container Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ inputs:
4242 container_name :
4343 description : ' Container image being pushed'
4444 required : true
45+ tag_suffix :
46+ description : ' Optional tag that has to be appended to the image tag'
47+ default : ' '
4548
4649runs :
4750 using : ' composite'
7982 run : |
8083 ${{ inputs.make_command }}
8184
82- DIGEST="$(crane digest ${{ inputs.nvcr_container_repo }}/${{ inputs.container_org }}/${{ inputs.container_name }}:${{ inputs.safe_ref_name }})"
85+ DIGEST="$(crane digest ${{ inputs.nvcr_container_repo }}/${{ inputs.container_org }}/${{ inputs.container_name }}:${{ inputs.safe_ref_name }}${{ inputs.tag_suffix }} )"
8386 echo "digest=$DIGEST" >> "$GITHUB_OUTPUT"
8487 echo "name=${{ inputs.nvcr_container_repo }}/${{ inputs.container_org }}/${{ inputs.container_name }}" >> "$GITHUB_OUTPUT"
8588
Original file line number Diff line number Diff line change 9494 - component : gpu-health-monitor-dcgm3
9595 make_command : ' make -C health-monitors/gpu-health-monitor docker-publish-dcgm3'
9696 container_name : ' nvsentinel-gpu-health-monitor'
97+ tag_suffix : ' -dcgm-3.x'
9798 - component : gpu-health-monitor-dcgm4
9899 make_command : ' make -C health-monitors/gpu-health-monitor docker-publish-dcgm4'
99100 container_name : ' nvsentinel-gpu-health-monitor'
101+ tag_suffix : ' -dcgm-4.x'
100102 - component : syslog-health-monitor
101103 make_command : ' make -C health-monitors/syslog-health-monitor docker-publish'
102104 container_name : ' nvsentinel-syslog-health-monitor'
You can’t perform that action at this time.
0 commit comments