Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 832ae77

Browse files
committed
fix runtime test for multiple container tags
2 parents c0b41f8 + a5fbba3 commit 832ae77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/code.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ jobs:
134134
labels: ${{ steps.meta.outputs.labels }}
135135

136136
- name: Check runtime
137-
run: for i in ${{ steps.meta.outputs.tags }}; do docker run ${i} --version; done
137+
# check that the first tag can run with --version parameter
138+
run: docker run $(echo ${{ steps.meta.outputs.tags }} | sed -e 's/\s.*$//') --version
138139

139140
- name: Upload build files
140141
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)