Skip to content

Commit

Permalink
Create reusable_dockerfile_pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DeVikingMark authored Dec 27, 2024
1 parent 90f7ec5 commit 90e199b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/reusable_dockerfile_pipeline.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 90e199b

Please sign in to comment.