Skip to content

Dispatch tagged Docker deploy after cargo-dist release #132

Description

@samgbafa

Problem

The cargo-dist Release workflow creates the GitHub release with the workflow GITHUB_TOKEN. GitHub suppresses recursive workflow events created by that token, so docker.yml does not receive its release: published trigger. A public node release can therefore complete without producing the versioned dstack image or deploying Phala. v1.6.0 required a manual workflow_dispatch with image_version=1.6.0 and deploy_phala=true.

Acceptance criteria

  • Successful cargo-dist publication durably dispatches docker.yml for the exact released tag/version.
  • The dispatch has only the minimum required permissions and cannot deploy an untagged commit.
  • Versioned normal and dstack images are built before deployment.
  • Phala deployment failure makes the release/deploy pipeline visibly fail.
  • A workflow test or documented dry-run proves the dispatch and version propagation.
  • Duplicate release/delivery events are idempotent.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions