ci: 修复合并清单步骤中的多行标签变量语法
This commit is contained in:
1 parent
8a498987b2
commit
2897b8c547
1 file changed
+3
-1
@@ -95,8 +95,10 @@ jobs:
|
|||||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) || startsWith(github.ref, 'refs/tags/v') }}
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) || startsWith(github.ref, 'refs/tags/v') }}
|
||||||
|
|
||||||
- name: Create and push multi-arch manifest
|
- name: Create and push multi-arch manifest
|
||||||
|
env:
|
||||||
|
TAGS: ${{ steps.meta.outputs.tags }}
|
||||||
run: |
|
run: |
|
||||||
for tag in ${{ steps.meta.outputs.tags }}; do
|
for tag in ${TAGS}; do
|
||||||
echo "Creating manifest for $tag..."
|
echo "Creating manifest for $tag..."
|
||||||
docker buildx imagetools create -t "$tag" \
|
docker buildx imagetools create -t "$tag" \
|
||||||
"${tag}-amd64" \
|
"${tag}-amd64" \
|
||||||
|
|||||||
Reference in new issue
Block a user