Browse Source

refine test

Matthew R Kasun 3 years ago
parent
commit
29600f5024
1 changed files with 6 additions and 2 deletions
  1. 6 2
      .github/workflows/publish-docker.yml

+ 6 - 2
.github/workflows/publish-docker.yml

@@ -50,7 +50,9 @@ jobs:
       -
         name: Test x86
         run: |
-            docker run --rm --entrypoint apk add file; file netmaker ${{ env.TAG }}
+            docker run --rm ${{ env.TAG }}
+            sleep 10
+            kill %1
       -
         name: Build arm and export to Docker
         uses: docker/build-push-action@v2
@@ -62,7 +64,9 @@ jobs:
       -
         name: Test arm
         run: |
-            docker run --rm --entrypoint apk add file; file netmaker ${{ env.TAG }}
+            docker run --rm ${{ env.TAG }}
+            sleep 10
+            kill %1
       -
         name: Build and push
         uses: docker/build-push-action@v2