Ver Fonte

refine test of docker image

Matthew R Kasun há 4 anos atrás
pai
commit
239508582d
1 ficheiros alterados com 2 adições e 1 exclusões
  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