Skip to content

Commit

Permalink
ci: auto-publish sdm for each release (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers authored Dec 5, 2024
1 parent 51d04dd commit 3c146c7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)
Expand Down

0 comments on commit 3c146c7

Please sign in to comment.