Skip to content

Commit 8344805

Browse files
Add platform to image tag.
1 parent 3e3be01 commit 8344805

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ jobs:
6666
push: true
6767
platforms: linux/amd64
6868
tags: |
69-
ghcr.io/${{ github.repository }}:${{ env.tag }}
70-
${{ env.latest_tag == 'true' && format('ghcr.io/{0}:latest', github.repository) || '' }}
69+
ghcr.io/${{ github.repository }}/linux/amd64:${{ env.tag }}
70+
${{ env.latest_tag == 'true' && format('ghcr.io/{0}/linux/amd64:latest', github.repository) || '' }}
7171
publish-arm:
7272
runs-on: SubtensorCI
7373

@@ -112,5 +112,5 @@ jobs:
112112
push: true
113113
platforms: linux/arm64
114114
tags: |
115-
ghcr.io/${{ github.repository }}:${{ env.tag }}
116-
${{ env.latest_tag == 'true' && format('ghcr.io/{0}:latest', github.repository) || '' }}
115+
ghcr.io/${{ github.repository }}/linux/arm64:${{ env.tag }}
116+
${{ env.latest_tag == 'true' && format('ghcr.io/{0}/linux/arm64:latest', github.repository) || '' }}

0 commit comments

Comments
 (0)