Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/healthy-terms-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"build-push-docker-manifest": minor
---

feat: conditionally enable docker buildx debug logs
8 changes: 7 additions & 1 deletion actions/build-push-docker-manifest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,14 @@ runs:
echo "Creating Docker manifest with tag: ${DOCKER_MANIFEST_TAG}"

# Build the complete command with all flags
CMD_ARGS=("--tag" "${DOCKER_MANIFEST_NAME_WITH_TAG}")
CMD_ARGS=()

if [[ "${RUNNER_DEBUG}" == "1" || "${CL_MANIFEST_DEBUG}" == "1" || "${CL_MANIFEST_DEBUG,,}" == "true" ]]; then
echo "Debug logging enabled for docker buildx imagetools create"
CMD_ARGS+=("--debug")
fi

CMD_ARGS+=("--tag" "${DOCKER_MANIFEST_NAME_WITH_TAG}")
# Add additional tag flags if present
if [[ -n "${TAG_FLAGS}" ]]; then
echo "Adding additional tags to manifest..."
Expand Down
Loading