refine test of docker image

This commit is contained in:
Matthew R Kasun 2021-11-17 18:49:34 +00:00
parent cd8b932b6e
commit 7e8fd2e26e

View file

@ -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