Skip to content

Commit d725a01

Browse files
committed
chore: add fix-release branch to release workflow triggers
Allow the fix-release branch to trigger releases with latest tag, enabling testing of Docker deployment changes without polluting the main branch.
1 parent 0a551bf commit d725a01

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build-cli-docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,15 @@ jobs:
163163
digest_refs="$digest_refs ghcr.io/${{ github.repository }}@sha256:${digest_file}"
164164
done
165165
echo "Digest references: $digest_refs"
166-
166+
167167
# Get all tags (both GHCR and Docker Hub)
168168
all_tags=$(printf '%s' "$DOCKER_METADATA_OUTPUT_JSON" | jq -cr '.tags | map("-t " + .) | join(" ")')
169169
echo "Creating manifest list with tags: $all_tags"
170-
170+
171171
# Create manifest list with all tags (GHCR and Docker Hub)
172172
# This will create the manifest in GHCR and simultaneously tag/push to Docker Hub
173173
docker buildx imagetools create $all_tags $digest_refs
174-
174+
175175
# Inspect the first tag for verification
176176
first_tag=$(printf '%s' "$DOCKER_METADATA_OUTPUT_JSON" | jq -cr '.tags[0]')
177177
docker buildx imagetools inspect "$first_tag"

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- "v*.*.*"
77
branches:
88
- main
9+
- fix-release
910
pull_request:
1011
workflow_dispatch:
1112

0 commit comments

Comments
 (0)