gha: Add collect artifacts step to nerdctl workflow

This PR adds the collect artifacts step to nerdctl workflow.

Fixes #9241

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2024-03-06 19:37:11 +00:00
parent 640ed591bd
commit f902ee78d0

View File

@ -324,3 +324,13 @@ jobs:
- name: Run nerdctl smoke test - name: Run nerdctl smoke test
timeout-minutes: 5 timeout-minutes: 5
run: bash tests/integration/nerdctl/gha-run.sh run run: bash tests/integration/nerdctl/gha-run.sh run
- name: Collect artifacts ${{ matrix.vmm }}
run: bash tests/integration/nerdctl/gha-run.sh collect-artifacts
- name: Archive artifacts ${{ matrix.vmm }}
uses: actions/upload-artifact@v3
with:
name: nerdctl-tests-garm-${{ matrix.vmm }}
path: /tmp/artifacts
retention-days: 1