Skip to content

Commit

Permalink
ci: add more platforms for build
Browse files Browse the repository at this point in the history
  • Loading branch information
marat2509 committed Feb 24, 2024
1 parent 27e32d5 commit 70a214d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

env:
REGISTRY: ghcr.io
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x,windows/amd64,windows/arm64

permissions:
contents: read
Expand All @@ -28,7 +29,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
multiPlatform: true
platform: linux/amd64,linux/arm64,linux/arm/v7
platform: ${{ env.PLATFORMS }}
directory: worker
dockerfile: worker/Dockerfile
addLatest: ${{ github.ref_name == 'main' }}
Expand All @@ -43,7 +44,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
multiPlatform: true
platform: linux/amd64,linux/arm64,linux/arm/v7
platform: ${{ env.PLATFORMS }}
directory: nginx
dockerfile: nginx/Dockerfile
addLatest: ${{ github.ref_name == 'main' }}

0 comments on commit 70a214d

Please sign in to comment.