Skip to content

Commit 8ee8f74

Browse files
committed
fix(ci): use inline tag suffixes for docker/metadata-action
The top-level 'suffix' key is not supported by docker/metadata-action@v6. Move arch suffix into inline tag definitions (suffix=-)... to match the dataplane and dashboard patterns that work correctly.
1 parent b4111c7 commit 8ee8f74

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/docker.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ jobs:
3333
with:
3434
images: ghcr.io/${{ github.repository_owner }}/nantian-controlplane
3535
tags: |
36-
type=sha,prefix=sha-,format=short
37-
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
38-
suffix: -${{ matrix.arch }}
36+
type=sha,prefix=sha-,format=short,suffix=-${{ matrix.arch }}
37+
type=raw,value=latest-${{ matrix.arch }},enable=${{ github.ref == 'refs/heads/main' }}
3938
4039
- name: Login to GHCR
4140
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)