File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -395,6 +395,8 @@ jobs:
395395 permissions :
396396 contents : read
397397 packages : write
398+ env :
399+ IMAGE : ${{ inputs.registry }}/${{ inputs.image }}:windows-${{ matrix.windows-base-version }}-${{ inputs.version }}
398400 steps :
399401 - name : Checkout repository
400402 uses : actions/checkout@v5
@@ -423,12 +425,19 @@ jobs:
423425
424426 - name : Build the production images
425427 run : |
426- docker build -t ${{ inputs.registry }}/${{ inputs.image }}:windows-${{ matrix.windows-base-version }}-${{ inputs.version }} --build-arg FLB_NIGHTLY_BUILD=${{ inputs.unstable }} --build-arg WINDOWS_VERSION=ltsc${{ matrix.windows-base-version }} -f ./dockerfiles/Dockerfile.windows .
428+ docker build -t $IMAGE --build-arg FLB_NIGHTLY_BUILD=${{ inputs.unstable }} --build-arg WINDOWS_VERSION=ltsc${{ matrix.windows-base-version }} -f ./dockerfiles/Dockerfile.windows .
429+ shell : bash
430+
431+ - name : Sanity check of the production images
432+ run : |
433+ docker run --rm -t $IMAGE --help
434+ shell : bash
427435
428436 - name : Push the production images
429437 if : inputs.push
430438 run : |
431- docker push ${{ inputs.registry }}/${{ inputs.image }}:windows-${{ matrix.windows-base-version }}-${{ inputs.version }}
439+ docker push $IMAGE
440+ shell : bash
432441
433442 # We cannot use this action as it requires privileged mode
434443 # uses: docker/build-push-action@v6
You can’t perform that action at this time.
0 commit comments