From 90e199b42d9775cdca0087f2c255e184242004f6 Mon Sep 17 00:00:00 2001 From: Ragnar Date: Fri, 27 Dec 2024 01:59:34 +0100 Subject: [PATCH] Create reusable_dockerfile_pipeline.yml --- .github/workflows/reusable_dockerfile_pipeline.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/reusable_dockerfile_pipeline.yml diff --git a/.github/workflows/reusable_dockerfile_pipeline.yml b/.github/workflows/reusable_dockerfile_pipeline.yml new file mode 100644 index 0000000000..cd7461cdc6 --- /dev/null +++ b/.github/workflows/reusable_dockerfile_pipeline.yml @@ -0,0 +1,13 @@ +# Remove or comment out old build steps for amd64 +# ... + +# Add a single step for multi-platform build +- name: Build and push multi-platform image + uses: docker/build-push-action@v5 + with: + context: . + file: ${{ inputs.dockerfile }} + platforms: linux/amd64,linux/arm64 + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }}