Browse Source

refine test of docker image

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

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

@@ -45,11 +45,12 @@ jobs:
         with:
           context: .
           load: true
+          platforms: linux/amd64,linux/arm64
           tags: ${{ env.TAG }}
       -
         name: Test
         run: |
-            docker run --rm ${{ env.TAG }}
+            docker run --rm --entrypoint apk add file; file netmaker ${{ env.TAG }}
       -
         name: Build and push
         uses: docker/build-push-action@v2