Skip to content

Commit 116b760

Browse files
author
Kasper Peeters
committed
Attempt to fix dockerhub overwriting architectures, see docker/build-push-action#1039.
1 parent 948543b commit 116b760

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/docker.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616

17-
strategy:
18-
fail-fast: false
19-
matrix:
20-
arch:
21-
- amd64
22-
- arm64
17+
# strategy:
18+
# fail-fast: false
19+
# matrix:
20+
# arch:
21+
# - amd64
22+
# - arm64
2323

2424
steps:
2525
- name: Prepare
@@ -54,17 +54,17 @@ jobs:
5454
- name: Build Docker image
5555
uses: docker/build-push-action@master
5656
with:
57-
platforms: linux/${{ matrix.arch }}
57+
platforms: linux/amd64, linux/arm64
5858
context: .
5959
file: docker/Dockerfile
6060
push: true
6161
#${{ github.ref == 'master' }}
6262
labels: ${{ steps.meta.outputs.labels }}
6363
tags: kpeeters/cadabra2-jupyter:latest
64-
outputs: type=docker,dest=cadabra2-jupyter-${{ matrix.arch }}.tar
64+
outputs: type=docker
6565

66-
- name: Upload artifact to github assets
67-
uses: actions/upload-artifact@main
68-
with:
69-
name: cadabra2-jupyter-${{ matrix.arch }}
70-
path: cadabra2-jupyter-${{ matrix.arch }}.tar
66+
# - name: Upload artifact to github assets
67+
# uses: actions/upload-artifact@main
68+
# with:
69+
# name: cadabra2-jupyter-${{ matrix.arch }}
70+
# path: cadabra2-jupyter-${{ matrix.arch }}.tar

0 commit comments

Comments
 (0)