Skip to content

Commit

Permalink
Merge pull request #1177 from tscuite/main
Browse files Browse the repository at this point in the history
feat: add qemu buildx
  • Loading branch information
tscuite authored Dec 16, 2022
2 parents 8e3151f + 8ee9f59 commit 4188f65
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
uses: actions/checkout@v2

- name: Setup QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login to Aliyun Registry
uses: docker/login-action@v1
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
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
- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
file: Dockerfile
context: .
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release_dongtai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@ jobs:
ossutil cp oss://dongtai/agent/python/ ./ --include "*.tar.gz" -r
ossutil cp oss://dongtai/agent/php/ ./ --include "*.tar.gz" -r
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
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
file: Dockerfile
context: .
Expand Down

0 comments on commit 4188f65

Please sign in to comment.