Skip to content

Commit 4188f65

Browse files
authored
Merge pull request #1177 from tscuite/main
feat: add qemu buildx
2 parents 8e3151f + 8ee9f59 commit 4188f65

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/deploy-dev.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
uses: actions/checkout@v2
1919

2020
- name: Setup QEMU
21-
uses: docker/setup-qemu-action@v1
21+
uses: docker/setup-qemu-action@v2
2222

2323
- name: Setup Docker Buildx
24-
uses: docker/setup-buildx-action@v1
24+
uses: docker/setup-buildx-action@v2
2525

2626
- name: Login to Aliyun Registry
2727
uses: docker/login-action@v1
@@ -52,7 +52,7 @@ jobs:
5252
echo "REPLACE INTO project_version_control (version, component_name, component_version_hash) VALUES('${{ github.run_number }}.0.0', '${{ github.event.repository.name }}', '${GITHUB_SHA}');" >> ./deploy/docker/version.sql
5353
5454
- name: Build and push
55-
uses: docker/build-push-action@v2
55+
uses: docker/build-push-action@v3
5656
with:
5757
file: Dockerfile
5858
context: .

.github/workflows/release_dongtai.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,13 @@ jobs:
6767
ossutil cp oss://dongtai/agent/python/ ./ --include "*.tar.gz" -r
6868
ossutil cp oss://dongtai/agent/php/ ./ --include "*.tar.gz" -r
6969
echo "REPLACE INTO project_version_control (version, component_name, component_version_hash) VALUES('${{ steps.release.outputs.version }}', '${{ github.event.repository.name }}', '${GITHUB_SHA}');" >> ./deploy/docker/version.sql
70-
70+
71+
- name: Setup QEMU
72+
uses: docker/setup-qemu-action@v2
73+
- name: Setup Docker Buildx
74+
uses: docker/setup-buildx-action@v2
7175
- name: Build and push
72-
uses: docker/build-push-action@v2
76+
uses: docker/build-push-action@v3
7377
with:
7478
file: Dockerfile
7579
context: .

0 commit comments

Comments
 (0)