Skip to content

Commit d6663a7

Browse files
committed
ci: Resolved tagged-release issue
Signed-off-by: Evan Wies <evan@neomantra.net>
1 parent 4c259a6 commit d6663a7

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff 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:

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
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

0 commit comments

Comments
 (0)