Skip to content

Commit d871500

Browse files
committed
Set BUILDKIT_MULTI_PLATFORM=0 to force since image output
1 parent 34ab5da commit d871500

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ jobs:
4444
run: make docker-build
4545
env:
4646
DOCKER_BUILDKIT: 1
47+
BUILDKIT_MULTI_PLATFORM: 0
4748
PLATFORM: ${{ matrix.platform }}
4849
IMAGE_TAG: "ghcr.io/sudo-bot/docker-rustpython/rustpython:${{ matrix.internal-tag }}-latest"
4950
ACTION: push
50-
EXTRA_ARGS: "--cache-to=type=registry,ref=ghcr.io/sudo-bot/docker-rustpython/rustpython-buildcache,mode=max --cache-from=type=registry,ref=ghcr.io/sudo-bot/docker-rustpython/rustpython-${{ matrix.platform }}:latest"
51+
EXTRA_ARGS: "--cache-to=type=registry,ref=ghcr.io/sudo-bot/docker-rustpython/rustpython-buildcache:${{ matrix.internal-tag }},mode=max --cache-from=type=registry,ref=ghcr.io/sudo-bot/docker-rustpython/rustpython-buildcache:${{ matrix.internal-tag }}"
5152

5253
create-final-image:
5354
runs-on: ubuntu-latest
@@ -68,12 +69,12 @@ jobs:
6869
- name: Create the manifest
6970
run: |
7071
docker manifest create docker.io/botsudo/docker-rustpython:latest \
71-
ghcr.io/sudo-bot/docker-rustpython/rustpython:linux/arm/v6-latest \
72-
ghcr.io/sudo-bot/docker-rustpython/rustpython:linux/arm/v7-latest \
73-
ghcr.io/sudo-bot/docker-rustpython/rustpython:linux/arm/v8-latest \
74-
ghcr.io/sudo-bot/docker-rustpython/rustpython:linux/386-latest \
75-
ghcr.io/sudo-bot/docker-rustpython/rustpython:linux/ppc64le-latest \
76-
ghcr.io/sudo-bot/docker-rustpython/rustpython:linux/amd64-latest
72+
ghcr.io/sudo-bot/docker-rustpython/rustpython:armv6-latest \
73+
ghcr.io/sudo-bot/docker-rustpython/rustpython:armv7-latest \
74+
ghcr.io/sudo-bot/docker-rustpython/rustpython:arm64v8-latest \
75+
ghcr.io/sudo-bot/docker-rustpython/rustpython:386-latest \
76+
ghcr.io/sudo-bot/docker-rustpython/rustpython:ppc64le-latest \
77+
ghcr.io/sudo-bot/docker-rustpython/rustpython:amd64-latest
7778
- name: Push the manifest
7879
run: docker manifest push docker.io/botsudo/docker-rustpython:latest
7980
- name: Inspect the manifest

0 commit comments

Comments
 (0)