Skip to content

Commit

Permalink
ci: add more platforms for Docker image (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
marat2509 authored Feb 24, 2024
1 parent 27e32d5 commit 83a7c10
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/arm/v6,linux/386,linux/ppc64le,linux/s390x

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 83a7c10

Please sign in to comment.