File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 6767 - GOOS : windows
6868 GOARCH : riscv64
6969 runs-on : ${{ inputs.runner_os }}
70+ env :
71+ TAG : ${{ inputs.distribution }}:${{ steps.prep.outputs.version }}-${{ steps.prep.outputs.arch }}
7072 outputs :
7173 version : ${{ steps.prep.outputs.version }}
7274
@@ -245,26 +247,24 @@ jobs:
245247 context : ./distributions/${{ inputs.distribution }}
246248 push : false
247249 load : true
248- tags : ${{ inputs.distribution }}:${{ steps.prep.outputs.version }}-${{ steps.prep.outputs.arch }}
250+ tags : ${{ env.TAG }}
249251
250252 - name : Build container images locally
251253 if : matrix.GOOS == 'windows' && contains(steps.prep.outputs.types, 'Docker Image')
252- env :
253- TAG : ${{ inputs.distribution }}:${{ steps.prep.outputs.version }}-${{ steps.prep.outputs.arch }}
254254 run : |
255255 docker build -f ./distributions/${{ inputs.distribution }}/Windows.dockerfile -t ${{ env.TAG }} ./distributions/${{ inputs.distribution }}/
256256
257257 - name : Export container image to tarball
258258 if : (matrix.GOOS == 'linux' || matrix.GOOS == 'windows') && contains(steps.prep.outputs.types, 'Docker Image')
259259 run : |
260- docker save ${{ inputs.distribution }}:${{ steps.prep.outputs.version }}- ${{ steps.prep.outputs.arch }} > /tmp /${{ inputs.distribution }}.tar
260+ docker save ${{ env.TAG }} > ${{ runner.temp }}/${{ inputs.distribution }}.tar
261261
262262 - name : Upload container image artifact
263263 if : (matrix.GOOS == 'linux' || matrix.GOOS == 'windows') && contains(steps.prep.outputs.types, 'Docker Image')
264264 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
265265 with :
266266 name : ${{ inputs.distribution }}-image-${{ steps.prep.outputs.version }}-${{ steps.prep.outputs.arch }}
267- path : /tmp /${{ inputs.distribution }}.tar
267+ path : ${{ runner.temp }} /${{ inputs.distribution }}.tar
268268 retention-days : 7
269269
270270 docker-tests :
You can’t perform that action at this time.
0 commit comments