diff --git a/.github/actions/docker-build-and-push/action.yaml b/.github/actions/docker-build-and-push/action.yaml index cc197178534..d7ca29b97dc 100644 --- a/.github/actions/docker-build-and-push/action.yaml +++ b/.github/actions/docker-build-and-push/action.yaml @@ -135,7 +135,8 @@ runs: runtime.output=type=docker,dest=/tmp/runtime.tar - name: Upload Artifact - prebuilt - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.save-artifacts == true }} + if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.save-artifacts == 'true' }} + id: artifact-upload-step-prebuilt uses: actions/upload-artifact@v4 with: name: prebuilt-image @@ -146,7 +147,8 @@ runs: if-no-files-found: error - name: Upload Artifact - devel - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.save-artifacts == true }} + if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.save-artifacts == 'true' }} + id: artifact-upload-step-devel uses: actions/upload-artifact@v4 with: name: devel-image @@ -157,7 +159,8 @@ runs: if-no-files-found: error - name: Upload Artifact - runtime - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.save-artifacts == true }} + if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.save-artifacts == 'true' }} + id: artifact-upload-step-runtime uses: actions/upload-artifact@v4 with: name: runtime-image @@ -166,3 +169,10 @@ runs: compression-level: 6 overwrite: true if-no-files-found: error + + - name: Output artifact URLs + run: | + echo 'prebuilt URL ${{ steps.artifact-upload-step-prebuilt.outputs.artifact-url }}' + echo 'devel URL ${{ steps.artifact-upload-step-devel.outputs.artifact-url }}' + echo 'runtime URL ${{ steps.artifact-upload-step-runtime.outputs.artifact-url }}' + shell: bash