2626 - ' pyproject.toml'
2727
2828concurrency :
29- group : ${{ github.workflow }}-${{ github.ref }}
29+ group : ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
3030 cancel-in-progress : true
3131
3232jobs :
3636 distros : ${{ steps.set-matrix.outputs.distros }}
3737 steps :
3838 - name : Checkout repository
39- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4040
4141 - name : Generate Distribution List
4242 id : set-matrix
5555
5656 steps :
5757 - name : Checkout repository
58- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5959
6060 - name : Install dependencies
6161 uses : ./.github/actions/setup-runner
7979 runs-on : ubuntu-latest
8080 steps :
8181 - name : Checkout repository
82- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
82+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8383
8484 - name : Install dependencies
8585 uses : ./.github/actions/setup-runner
9292 runs-on : ubuntu-latest
9393 steps :
9494 - name : Checkout repository
95- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
95+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
9696
9797 - name : Install dependencies
9898 uses : ./.github/actions/setup-runner
@@ -106,6 +106,10 @@ jobs:
106106 - name : Inspect the container image entrypoint
107107 run : |
108108 IMAGE_ID=$(docker images --format "{{.Repository}}:{{.Tag}}" | head -n 1)
109+ if [ -z "$IMAGE_ID" ]; then
110+ echo "No image found"
111+ exit 1
112+ fi
109113 entrypoint=$(docker inspect --format '{{ .Config.Entrypoint }}' $IMAGE_ID)
110114 echo "Entrypoint: $entrypoint"
111115 if [ "$entrypoint" != "[python -m llama_stack.core.server.server /app/run.yaml]" ]; then
@@ -117,7 +121,7 @@ jobs:
117121 runs-on : ubuntu-latest
118122 steps :
119123 - name : Checkout repository
120- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
124+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
121125
122126 - name : Install dependencies
123127 uses : ./.github/actions/setup-runner
@@ -140,6 +144,10 @@ jobs:
140144 - name : Inspect UBI9 image
141145 run : |
142146 IMAGE_ID=$(docker images --format "{{.Repository}}:{{.Tag}}" | head -n 1)
147+ if [ -z "$IMAGE_ID" ]; then
148+ echo "No image found"
149+ exit 1
150+ fi
143151 entrypoint=$(docker inspect --format '{{ .Config.Entrypoint }}' $IMAGE_ID)
144152 echo "Entrypoint: $entrypoint"
145153 if [ "$entrypoint" != "[python -m llama_stack.core.server.server /app/run.yaml]" ]; then
0 commit comments