From 8581112e0a31a065cfa685aee8a8a69febb572c1 Mon Sep 17 00:00:00 2001 From: Andrew Pearce Date: Tue, 5 Dec 2023 12:03:18 +0000 Subject: [PATCH] build with buildx --- .github/workflows/docker_job.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker_job.yml b/.github/workflows/docker_job.yml index 8081836be7..32c35bf1a8 100644 --- a/.github/workflows/docker_job.yml +++ b/.github/workflows/docker_job.yml @@ -53,7 +53,7 @@ jobs: - name: Build ${{ matrix.ecr_repository }} Image id: build_image run: | - docker build -f ${{ matrix.path }} -t ${{ matrix.ecr_repository }} --build-arg TAG=${{inputs.tag}} . + docker buildx build -f ${{ matrix.path }} -t ${{ matrix.ecr_repository }} --build-arg TAG=${{inputs.tag}} . - name: Trivy Image Vulnerability Scanner for ${{ matrix.ecr_repository }} id: trivy_scan uses: aquasecurity/trivy-action@0.14.0