diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index 340514a..5de6f0c 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -13,6 +13,8 @@ on: description: Runpod SDK package spec required: true default: runpod + push: + branches: [main] permissions: contents: read @@ -35,6 +37,10 @@ jobs: tag="${RELEASE_TAG#v}" sdk_spec="runpod" release_tags="true" + elif [ "${{ github.event_name }}" = "push" ]; then + tag="dev" + sdk_spec="https://github.com/runpod/runpod-python/archive/refs/heads/main.tar.gz" + release_tags="false" else tag="$INPUT_TAG" sdk_spec="$INPUT_SDK_SPEC" diff --git a/README.md b/README.md index d1e58da..d9eee86 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,9 @@ packages excluded from GPU deployment artifacts. | `runpod/task-gpu:py3.12-latest` | ephemeral GPU task pods | Python 3.10 through 3.14 are published. Release tags use -`py-`, and `latest` tracks the newest release. Manual image -publishes support channels such as `dev`. +`py-`, and `latest` tracks the newest release. Pushes to +`main` publish `py-dev` images using the SDK's `main` branch. Manual image +publishes support custom tag suffixes and SDK package sources. ## Package