From 911f77b1393c278b87a1ddd1363b9801f39f71e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Ramon=20Ma=C3=B1es?= <32740567+jrmanes@users.noreply.github.com> Date: Mon, 10 Jul 2023 14:43:27 +0200 Subject: [PATCH] feat: use context - seems like it fixes the ldflags issue (#65) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jose Ramon MaƱes --- .github/workflows/reusable_dockerfile_pipeline.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/reusable_dockerfile_pipeline.yml b/.github/workflows/reusable_dockerfile_pipeline.yml index 7b043d1..5639993 100644 --- a/.github/workflows/reusable_dockerfile_pipeline.yml +++ b/.github/workflows/reusable_dockerfile_pipeline.yml @@ -66,6 +66,7 @@ jobs: OUTPUT_SHORT_SHA: ${{ needs.prepare-env.outputs.output_short_sha }} OUTPUT_IMAGE_NAME: ${{ needs.prepare-env.outputs.output_image_name }} with: + context: . push: false platforms: linux/amd64 # we're building the container before the scan, use the short sha tag @@ -146,6 +147,7 @@ jobs: OUTPUT_SHORT_SHA: ${{ needs.prepare-env.outputs.output_short_sha }} OUTPUT_IMAGE_NAME: ${{ needs.prepare-env.outputs.output_image_name }} with: + context: . platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }}