We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9986fc5 commit cda220bCopy full SHA for cda220b
.github/workflows/docker.yml
@@ -52,10 +52,10 @@ jobs:
52
steps:
53
- name: Test CS50 image
54
run: |
55
- # 测试镜像
+ # 测试镜像版本
56
docker run --rm ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cs50 --version
57
58
- # 测试检查脚本存在
59
- docker run --rm ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cs50 sh -c "ls /checks/"
+ # 测试检查脚本存在(使用 --entrypoint 覆盖)
+ docker run --rm --entrypoint ls ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:cs50 /checks/
60
61
echo "CS50 image test passed!"
0 commit comments