1
0
mirror of synced 2025-12-19 18:14:56 -05:00

fix(ci): Use actual docker-image-tag in /publish-connectors-prerelease completion comment (#70817)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: aldo.gonzalez@airbyte.io <aldo.gonzalez@airbyte.io>
This commit is contained in:
devin-ai-integration[bot]
2025-12-10 21:16:45 -06:00
committed by GitHub
parent 6a48afc369
commit 37229e0b69
2 changed files with 11 additions and 6 deletions

View File

@@ -176,13 +176,12 @@ jobs:
id: message-vars
run: |
CONNECTOR_NAME="${{ needs.init.outputs.connector-name }}"
SHORT_SHA="${{ needs.init.outputs.short-sha }}"
VERSION="${{ needs.init.outputs.connector-version }}"
# Use the actual docker-image-tag from the publish workflow output
DOCKER_TAG="${{ needs.publish.outputs.docker-image-tag }}"
if [[ -n "$VERSION" ]]; then
DOCKER_TAG="${VERSION}-dev.${SHORT_SHA}"
else
DOCKER_TAG="{version}-dev.${SHORT_SHA}"
if [[ -z "$DOCKER_TAG" ]]; then
echo "::error::docker-image-tag output is missing from publish workflow. This is unexpected."
exit 1
fi
echo "connector_name=$CONNECTOR_NAME" >> $GITHUB_OUTPUT

View File

@@ -21,6 +21,10 @@ on:
required: false
default: false
type: boolean
outputs:
docker-image-tag:
description: "Docker image tag used when publishing. For single-connector callers only; multi-connector callers should not rely on this output."
value: ${{ jobs.publish_connector_registry_entries.outputs.docker-image-tag }}
workflow_dispatch:
inputs:
connectors:
@@ -250,6 +254,8 @@ jobs:
max-parallel: 5
# Allow all jobs to run, even if one fails
fail-fast: false
outputs:
docker-image-tag: ${{ steps.connector-metadata.outputs.docker-image-tag }}
steps:
- name: Checkout Airbyte
# v4