Skip to content

Commit a359c02

Browse files
authored
ci: add missing docker archs (parse-community#7666)
1 parent 62cc9ca commit a359c02

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/ci.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,18 @@ jobs:
7575
timeout-minutes: 15
7676
runs-on: ubuntu-18.04
7777
steps:
78-
- uses: actions/checkout@v2
78+
- name: Checkout repository
79+
uses: actions/checkout@v2
80+
- name: Set up QEMU
81+
id: qemu
82+
uses: docker/setup-qemu-action@v1
83+
- name: Set up Docker Buildx
84+
uses: docker/setup-buildx-action@v1
7985
- name: Build docker image
8086
uses: docker/build-push-action@v2
87+
with:
88+
context: .
89+
platforms: linux/amd64
8190
check-lock-file-version:
8291
name: NPM Lock File Version
8392
timeout-minutes: 5

.github/workflows/release-automated.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
uses: docker/build-push-action@v2
7979
with:
8080
context: .
81-
platforms: linux/amd64
81+
platforms: linux/amd64, linux/arm/v6, linux/arm/v7, linux/arm64/v8
8282
push: ${{ github.event_name != 'pull_request' }}
8383
tags: ${{ steps.meta.outputs.tags }}
8484
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)