From 6474b26d038b6b604d7cbb7ab0d1c11cbffb844b Mon Sep 17 00:00:00 2001 From: John D <427295+boostchicken@users.noreply.github.com> Date: Mon, 10 Aug 2020 23:33:53 -0700 Subject: [PATCH] Update anchore-analysis.yml --- .github/workflows/anchore-analysis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/anchore-analysis.yml b/.github/workflows/anchore-analysis.yml index 3fe8fb9..4d83022 100644 --- a/.github/workflows/anchore-analysis.yml +++ b/.github/workflows/anchore-analysis.yml @@ -16,8 +16,15 @@ jobs: steps: - name: Checkout the code uses: actions/checkout@v2 + - + name: Set up Docker Buildx + id: buildx + uses: crazy-max/ghaction-docker-buildx@v3 + with: + buildx-version: latest + qemu-version: latest - name: Build the Docker image - run: docker build . --file ./nextdns/docker/Dockerfile --tag localbuild/testimage:latest + run: docker buildx build --platform linux/arm64 --output "type=image,push=false" --file ./nextdns/docker/Dockerfile --tag localbuild/testimage:latest . - name: Run the local Anchore scan action itself with GitHub Advanced Security code scanning integration enabled uses: anchore/scan-action@master with: