Skip to content

Commit

Permalink
fix: GH-23 support macos docker users
Browse files Browse the repository at this point in the history
> Key Changes:
> * Set up Docker Buildx: Added `install: true` to ensure Buildx is installed.
> * Specify Platforms: Added `platforms: linux/amd64,linux/arm64` to the `docker/build-push-action` step to build for both `amd64` and `arm64` architectures.
> — Microsoft CoPilot
  • Loading branch information
wesleyboar committed Nov 19, 2024
1 parent 07db9ca commit 4c943e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
install: true
-
name: Checkout repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -54,6 +56,7 @@ jobs:
uses: docker/build-push-action@v3
with:
push: true
platforms: linux/amd64,linux/arm64
tags: taccwma/tacc-docs:latest,taccwma/tacc-docs:${{ steps.vars.outputs.sha_short }},taccwma/tacc-docs:${{ steps.vars.outputs.ref_short }}
-
name: Post build status in slack
Expand Down

0 comments on commit 4c943e2

Please sign in to comment.