Skip to content

Commit 6832b2f

Browse files
authored
feat(docker): support arm64 (#2081) (#2396)
Resolve #2080.
1 parent b0bbfe9 commit 6832b2f

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/build-push-env-docker.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,22 @@ jobs:
4444
- centos7
4545
steps:
4646
- name: Checkout
47+
# The glibc version on ubuntu1804 and centos7 is lower than the actions/checkout@v4 required, so
48+
# we need to force to use actions/checkout@v3.
4749
uses: actions/checkout@v3
4850
- name: Set up QEMU
49-
uses: docker/setup-qemu-action@v1
51+
uses: docker/setup-qemu-action@v3
5052
- name: Set up Docker Buildx
51-
uses: docker/setup-buildx-action@v1
53+
uses: docker/setup-buildx-action@v3
5254
- name: Login to DockerHub
53-
uses: docker/login-action@v1
55+
uses: docker/login-action@v3
5456
with:
5557
username: ${{ secrets.DOCKERHUB_USER }}
5658
password: ${{ secrets.DOCKERHUB_TOKEN }}
5759
- name: Build and push
58-
uses: docker/build-push-action@v2.10.0
60+
uses: docker/build-push-action@v6
5961
with:
62+
platforms: linux/amd64,linux/arm64
6063
context: .
6164
file: ./docker/pegasus-build-env/${{ matrix.dockertag }}/Dockerfile
6265
push: true

0 commit comments

Comments
 (0)