This PR adds GitHub workflows for building actor images containing the new Apify API Client for Python. They're either called manually, or through a repository dispatch event through the GitHub API.
The logic of the GitHub workflow is copied and adapted from the workflows for the Node images, just simplified a bit because we're not yet preinstalling any libraries like playwright or puppeteer into the Python images.
The Docker images itself are pretty basic, they're basically just the official Python Alpine images with a virtual environment set up, the Python Client preinstalled and a simple testing Python script added as the default command.
I've also renamed the repository dispatch event for calling the builds of the node images, now that there are more types of images than just Node ones, so this PR requires a corresponding PR in the Apify SDK to be merged just after this one, I'll post that PR shortly.
This PR adds GitHub workflows for building actor images containing the new Apify API Client for Python. They're either called manually, or through a repository dispatch event through the GitHub API.
The logic of the GitHub workflow is copied and adapted from the workflows for the Node images, just simplified a bit because we're not yet preinstalling any libraries like playwright or puppeteer into the Python images.
The Docker images itself are pretty basic, they're basically just the official Python Alpine images with a virtual environment set up, the Python Client preinstalled and a simple testing Python script added as the default command.
I've also renamed the repository dispatch event for calling the builds of the node images, now that there are more types of images than just Node ones, so this PR requires a corresponding PR in the Apify SDK to be merged just after this one, I'll post that PR shortly.