Skip to content

Commit 0e56fd5

Browse files
committed
Fix error "index annotations not supported for single platform export"
1 parent 8edb8a5 commit 0e56fd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,9 @@ jobs:
6767
platforms: linux/${{ matrix.arch }}
6868
push: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
6969
tags: ${{ steps.meta.outputs.tags }}
70-
labels: ${{ steps.meta.outputs.labels }}
7170
provenance: false
7271
build-args: |
7372
PYTORCH_VARIANT=${{ matrix.variant }}
74-
outputs: type=image,name=ghcr.io/${{ github.repository }},annotation-index.org.opencontainers.image.title=Python Tutorial,annotation-index.org.opencontainers.image.description=A containerized Python tutorial environment with Jupyter Lab.
7573
7674
create-manifests:
7775
needs: build-and-push
@@ -99,6 +97,7 @@ jobs:
9997
ghcr.io/${{ github.repository }}:cpu
10098
${{ startsWith(github.ref, 'refs/tags/') && format('ghcr.io/{0}:cpu-{1}', github.repository, github.ref_name) || '' }}
10199
${{ github.ref == 'refs/heads/main' && format('ghcr.io/{0}:latest', github.repository) || '' }}
100+
outputs: type=image,name=ghcr.io/${{ github.repository }},annotation-index.org.opencontainers.image.title=Python Tutorial,annotation-index.org.opencontainers.image.description=A containerized Python tutorial environment with Jupyter Lab.
102101

103102
- name: Create and push CUDA manifest
104103
uses: docker/build-push-action@v6
@@ -111,3 +110,4 @@ jobs:
111110
tags: |
112111
ghcr.io/${{ github.repository }}:cuda
113112
${{ startsWith(github.ref, 'refs/tags/') && format('ghcr.io/{0}:cuda-{1}', github.repository, github.ref_name) || '' }}
113+
outputs: type=image,name=ghcr.io/${{ github.repository }},annotation-index.org.opencontainers.image.title=Python Tutorial,annotation-index.org.opencontainers.image.description=A containerized Python tutorial environment with Jupyter Lab.

0 commit comments

Comments
 (0)