File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -309,9 +309,11 @@ jobs:
309309 - name : Tag and Push to Docker Hub Mirror
310310 if : vars.ENABLE_DOCKERHUB_MIRROR == 'true'
311311 run : |
312- for TAG in ${{ steps.meta.outputs.tags }}; do
313- DOCKERHUB_TAG=$(echo "$TAG" | sed "s|${{ env.GHCR_IMAGE }}|${{ env.DOCKERHUB_IMAGE }}|")
314- docker buildx imagetools create -t "$DOCKERHUB_TAG" "$TAG"
312+ echo "${{ steps.meta.outputs.tags }}" | while read -r TAG; do
313+ if [ -n "$TAG" ]; then
314+ DOCKERHUB_TAG=$(echo "$TAG" | sed "s|${{ env.GHCR_IMAGE }}|${{ env.DOCKERHUB_IMAGE }}|")
315+ docker buildx imagetools create -t "$DOCKERHUB_TAG" "$TAG"
316+ fi
315317 done
316318
317319 manifest :
@@ -448,9 +450,11 @@ jobs:
448450 - name : Tag and Push to Mirror
449451 if : vars.ENABLE_DOCKERHUB_MIRROR == 'true'
450452 run : |
451- for TAG in ${{ steps.meta.outputs.tags }}; do
452- MIRROR_TAG=$(echo "$TAG" | sed "s|${{ env.GHCR_IMAGE }}|${{ env.DOCKERHUB_IMAGE }}|")
453- docker buildx imagetools create -t "$MIRROR_TAG" "$TAG"
453+ echo "${{ steps.meta.outputs.tags }}" | while read -r TAG; do
454+ if [ -n "$TAG" ]; then
455+ MIRROR_TAG=$(echo "$TAG" | sed "s|${{ env.GHCR_IMAGE }}|${{ env.DOCKERHUB_IMAGE }}|")
456+ docker buildx imagetools create -t "$MIRROR_TAG" "$TAG"
457+ fi
454458 done
455459
456460 manifest-fat :
Original file line number Diff line number Diff line change 11` docker-openresty ` Changelog
22============================
33
4- ## 1.27.1.2-8 (2026-01-11)
4+ ## 1.27.1.2-9 (2026-01-30)
5+
6+ * ci: Resolve tagged-release issue
7+
8+ ## 1.27.1.2-8 (2026-01-11)
59
610 * ci: Resolved Docker Hub mirroring issues
711
You can’t perform that action at this time.
0 commit comments