From 11ffd9056da1810375ca1641e8c4e9cf2e026319 Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Sat, 14 Aug 2021 16:20:39 -0400 Subject: [PATCH] Inspect image after build Signed-off-by: Kyle Harding --- .github/workflows/default.yml | 6 +++++- Dockerfile | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 269a3c7..7d8f866 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -8,7 +8,7 @@ env: jobs: - build: + docker: runs-on: ubuntu-20.04 services: registry: @@ -83,6 +83,10 @@ jobs: cache-to: | type=gha,mode=max push: true + - + name: Inspect + run: | + docker buildx imagetools inspect localhost:5000/${{ env.image_name }}:latest - name: Test each platform run: | diff --git a/Dockerfile b/Dockerfile index 773e435..fa2fc31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,7 +69,6 @@ FROM scratch COPY --from=rootfs rootfs/ / -# runtime health checks HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \ CMD [ "dig", "sigok.verteiltesysteme.net", "@127.0.0.1" ]