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: