Skip to content

Commit c9df1c4

Browse files
committed
(build) install qemu for docker build
1 parent 5a48f6d commit c9df1c4

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

.github/workflows/ci.yml

+20-12
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,14 @@ jobs:
265265
with:
266266
name: nuget
267267
path: ${{ github.workspace }}/artifacts/packages/nuget
268+
-
269+
name: Set up QEMU
270+
uses: docker/setup-qemu-action@v1
271+
-
272+
name: Set up Docker Buildx
273+
uses: docker/setup-buildx-action@v1
274+
with:
275+
install: true
268276
-
269277
name: '[Docker Build/Test] DockerHub'
270278
shell: pwsh
@@ -282,18 +290,18 @@ jobs:
282290
shell: pwsh
283291
run: dotnet run/docker.dll --target=DockerPublish --docker_dotnetversion=${{ matrix.targetFramework }} --docker_distro=${{ matrix.distro }} --docker_registry dockerhub
284292

285-
-
286-
name: '[Docker Build/Test] GitHub Container Registry'
287-
shell: pwsh
288-
run: dotnet run/docker.dll --target=DockerTest --docker_dotnetversion=${{ matrix.targetFramework }} --docker_distro=${{ matrix.distro }} --docker_registry github
289-
-
290-
name: Login to GitHub Container Registry
291-
if: success() && github.event_name != 'pull_request'
292-
uses: docker/login-action@v1
293-
with:
294-
registry: ghcr.io
295-
username: ${{ github.repository_owner }}
296-
password: ${{ secrets.GITHUB_TOKEN }}
293+
# -
294+
# name: '[Docker Build/Test] GitHub Container Registry'
295+
# shell: pwsh
296+
# run: dotnet run/docker.dll --target=DockerTest --docker_dotnetversion=${{ matrix.targetFramework }} --docker_distro=${{ matrix.distro }} --docker_registry github
297+
# -
298+
# name: Login to GitHub Container Registry
299+
# if: success() && github.event_name != 'pull_request'
300+
# uses: docker/login-action@v1
301+
# with:
302+
# registry: ghcr.io
303+
# username: ${{ github.repository_owner }}
304+
# password: ${{ secrets.GITHUB_TOKEN }}
297305
# -
298306
# name: '[Docker Publish] GitHub Container Registry'
299307
# if: success() && github.event_name != 'pull_request'

0 commit comments

Comments
 (0)