From ab515288694338ef1c3f2e17d9c2e53368f5a679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Ramon=20Ma=C3=B1es?= Date: Mon, 10 Jul 2023 12:28:28 +0200 Subject: [PATCH] feat: use context - seems like it fixes the ldflags issue 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 }}