From 3c146c7643d213c069d241419e1ca9bf5c8f1a96 Mon Sep 17 00:00:00 2001 From: "Aaron (\"AJ\") Steers" Date: Wed, 4 Dec 2024 16:03:46 -0800 Subject: [PATCH] ci: auto-publish sdm for each release (#122) --- .github/workflows/pypi_publish.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index 40aa0464..45480441 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -150,11 +150,9 @@ jobs: publish_sdm: name: Publish SDM to DockerHub - # TODO: When we're ready to publish after each release, prefix the `if` below with: - # (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) || - # Until then, this workflow needs to be kicked off manually. - # Last remaining blocker documented here: https://github.com/airbytehq/airbyte-python-cdk/issues/64 if: > + (github.event_name == 'push' && + startsWith(github.ref, 'refs/tags/v')) || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish_to_dockerhub == 'true' )