Skip to content

Commit 9b26833

Browse files
committed
updated release.yaml
1 parent 605f45b commit 9b26833

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,20 @@ jobs:
118118
- name: Checkout repo
119119
uses: actions/checkout@v4
120120

121-
- name: Build Docker image
122-
run: docker build -t linux -f .github/workflows/Dockerfile.centos_aarch64 .
121+
- name: Set up QEMU
122+
uses: docker/setup-qemu-action@v3
123+
124+
- name: Set up Docker Buildx
125+
uses: docker/setup-buildx-action@v3
123126

127+
- name: Build Docker image
128+
run: |
129+
docker buildx build \
130+
--platform linux/arm64 \
131+
-t linux \
132+
-f .github/workflows/Dockerfile.centos_aarch64 \
133+
--load .
134+
124135
- name: Create container
125136
run: docker create --name linuxcontainer_aarch64 linux
126137

0 commit comments

Comments
 (0)