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 4949 puts RakeCompilerDock::Starter.container_image_name(:platform => %q(${{matrix.platform}})); \
5050 print "snapshot_name="; \
5151 puts RakeCompilerDock::Starter.container_image_name(:platform => %q(${{matrix.platform}}), :version => %q(snapshot)); \
52+ if %q(${{matrix.platform}}).end_with?("-gnu"); \
53+ print "generic_linux_snapshot_name="; \
54+ puts RakeCompilerDock::Starter.container_image_name(:platform => %q(${{matrix.platform}}), :version => %q(snapshot)).chomp("-gnu"); \
55+ end \
5256 ' | tee -a $GITHUB_OUTPUT
53-
5457 - name : Build docker image
5558 env :
5659 RCD_DOCKER_BUILD : docker buildx build --cache-from=type=local,src=tmp/build-cache --cache-to=type=local,dest=tmp/build-cache-new --load
6972 docker images
7073 docker tag ${{steps.rcd_config.outputs.image_name}} ${{steps.rcd_config.outputs.snapshot_name}}
7174 docker push ${{steps.rcd_config.outputs.snapshot_name}}
75+ - if : ${{ steps.rcd_config.outputs.generic_linux_snapshot_name }}
76+ run : |
77+ docker tag ${{steps.rcd_config.outputs.image_name}} ${{steps.rcd_config.outputs.generic_linux_snapshot_name}}
You can’t perform that action at this time.
0 commit comments