From 83a7c1008ebdaca0e53fc5398beba512e921e94e Mon Sep 17 00:00:00 2001 From: marat2509 <93652988+marat2509@users.noreply.github.com> Date: Sun, 25 Feb 2024 01:50:36 +0300 Subject: [PATCH] ci: add more platforms for Docker image (#1) --- .github/workflows/docker-publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 133d38a..490e0c8 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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 @@ -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' }} @@ -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' }}