Skip to content

Commit b09dd2a

Browse files
Add arm64 builds (#337)
* Update GitHub Actions workflow versions * Add arm builds * Remove docker driver * Try with the containerd image store
1 parent f5e9811 commit b09dd2a

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,21 @@ jobs:
3232

3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v4
3636

3737
- name: Set up QEMU
38-
uses: docker/setup-qemu-action@v1
38+
uses: docker/setup-qemu-action@v3
3939

40-
- name: Set up Docker Buildx
41-
uses: docker/setup-buildx-action@v1
40+
- name: Set up Docker
41+
uses: docker/setup-docker-action@v4
4242
with:
43-
driver: docker
43+
daemon-config: |
44+
{
45+
"debug": true,
46+
"features": {
47+
"containerd-snapshotter": true
48+
}
49+
}
4450
4551
- name: Install Container Canary
4652
run: |
@@ -50,14 +56,14 @@ jobs:
5056
canary version
5157
5258
- name: Login to DockerHub
53-
uses: docker/login-action@v1
59+
uses: docker/login-action@v3
5460
if: github.repository == 'dask/dask-docker' && github.event_name == 'push'
5561
with:
5662
username: ${{ secrets.DOCKERHUB_USERNAME }}
5763
password: ${{ secrets.DOCKERHUB_TOKEN }}
5864

5965
- name: Login to GitHub Container Registry
60-
uses: docker/login-action@v1
66+
uses: docker/login-action@v3
6167
if: github.repository == 'dask/dask-docker' && github.event_name == 'push'
6268
with:
6369
registry: ghcr.io
@@ -89,31 +95,31 @@ jobs:
8995
echo "tag=${tag}" >> $GITHUB_OUTPUT
9096
9197
- name: Checkout upstream Jupyter Lab image repo
92-
uses: actions/checkout@v2
98+
uses: actions/checkout@v4
9399
if: contains(matrix.image.tag, 'dask-notebook')
94100
with:
95101
repository: jupyter/docker-stacks
96102
ref: main
97103
path: docker-stacks
98104

99105
- name: Build upstream Jupyter Lab image
100-
uses: docker/build-push-action@v2
106+
uses: docker/build-push-action@v6
101107
if: contains(matrix.image.tag, 'dask-notebook')
102108
with:
103109
context: ./docker-stacks/images/docker-stacks-foundation
104110
push: false
105111
load: true
106-
platforms: linux/amd64
112+
platforms: linux/amd64,linux/arm64
107113
tags: daskdev/docker-stacks-foundation:lab
108114
build-args: |
109115
PYTHON_VERSION=${{ matrix.python }}
110116
111117
- name: Build and push
112-
uses: docker/build-push-action@v2
118+
uses: docker/build-push-action@v6
113119
with:
114120
context: ${{ matrix.image.context }}
115121
push: ${{ github.repository == 'dask/dask-docker' && github.event_name == 'push' }}
116-
platforms: linux/amd64
122+
platforms: linux/amd64,linux/arm64
117123
tags: ${{ steps.tags.outputs.tags }}
118124
build-args: |
119125
python=${{ matrix.python }}

0 commit comments

Comments
 (0)