Skip to content

Commit 3c146c7

Browse files
authored
ci: auto-publish sdm for each release (#122)
1 parent 51d04dd commit 3c146c7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/pypi_publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,9 @@ jobs:
150150

151151
publish_sdm:
152152
name: Publish SDM to DockerHub
153-
# TODO: When we're ready to publish after each release, prefix the `if` below with:
154-
# (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) ||
155-
# Until then, this workflow needs to be kicked off manually.
156-
# Last remaining blocker documented here: https://github.com/airbytehq/airbyte-python-cdk/issues/64
157153
if: >
154+
(github.event_name == 'push' &&
155+
startsWith(github.ref, 'refs/tags/v')) ||
158156
(github.event_name == 'workflow_dispatch' &&
159157
github.event.inputs.publish_to_dockerhub == 'true'
160158
)

0 commit comments

Comments
 (0)