File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -125,3 +125,23 @@ jobs:
125125 file : dist/*
126126 file_glob : true
127127 tag : ${{ github.ref }}
128+
129+ - # Get the current package version for use in Docker images
130+ name : Parse package version for Docker images
131+ id : get-package-version
132+ run : |
133+ package_version=`python ./.github/scripts/print_current_package_version.py`
134+ echo "::set-output name=package_version::$package_version"
135+
136+ - # Trigger building the docker images in apify/apify-actor-docker repo
137+ name : Trigger Docker Image Build
138+ uses : peter-evans/repository-dispatch@v1
139+ with :
140+ token : ${{ secrets.TRIGGER_DOCKER_IMAGE_BUILD_TOKEN }}
141+ repository : apify/apify-actor-docker
142+ event-type : build-python-images
143+ client-payload : >
144+ {
145+ "release_tag": "${{ env.RELEASE_TAG }}",
146+ "apify_client_version": "${{ steps.get-package-version.outputs.package_version }}",
147+ }
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Changelog
1313
1414- updated development dependencies
1515- enforced unified use of single quotes and double quotes
16+ - added repository dispatch to build actor images with this client when publishing a new version
1617
1718[ 0.0.1] ( ../../releases/tag/v0.0.1 ) - 2021-05-13
1819-----------------------------------------------
You can’t perform that action at this time.
0 commit comments