Skip to content

Commit ffacfad

Browse files
committed
use buildx action for windows
1 parent 03f5a8e commit ffacfad

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/docker.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,13 @@ jobs:
7070
runs-on: windows-2022
7171
steps:
7272
- uses: actions/checkout@v3
73+
- name: Set up Docker Buildx
74+
uses: docker/setup-buildx-action@v3
75+
with:
76+
driver: docker
7377
- name: Build image
7478
working-directory: windows
75-
shell: bash
76-
run: docker buildx build . --tag $IMAGE_NAME
79+
run: docker buildx build . --tag ${{ env.IMAGE_NAME }}
7780

7881
publish-devcontainer:
7982
if: ${{ github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)