Skip to content

Commit

Permalink
Add support for multi-platform builds in GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
L4B0MB4 committed Dec 7, 2024
1 parent f12c850 commit bad772b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/chats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
uses: docker/build-push-action@v6
with:
file: "./docker/command/Dockerfile"
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ vars.DOCKERHUB_USERNAME }}/pryvt_chats_command:${{ github.ref == 'refs/heads/master' && 'latest' || github.ref_name }}
- name: Build without push
Expand All @@ -69,6 +70,7 @@ jobs:
uses: docker/build-push-action@v6
with:
file: "./docker/query/Dockerfile"
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ vars.DOCKERHUB_USERNAME }}/pryvt_chats_query:${{ github.ref == 'refs/heads/master' && 'latest' || github.ref_name }}
- name: Build without push
Expand Down

0 comments on commit bad772b

Please sign in to comment.