File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ name: "release"
66# - building and pushing of a new Docker image to ghcr.io [package]
77# - create a published release [release]
88# - post the release info to Slack [release]
9+ #
10+ # NOTE: This workflow is dependent on the scripts/version_name.sh script.
11+ # This script needs to generate a version number that starts with "v".
12+ # This can either be the current version or a future version, depending
13+ # on how the project versioning is handled.
914
1015on :
1116 push :
@@ -48,11 +53,15 @@ jobs:
4853 - name : Build and push
4954 uses : docker/build-push-action@v6
5055 with :
56+ # We are building this image to be compatible with an AWS Lambda execution
57+ # environment, thus we need to explicitly build for linux/amd64 and set
58+ # provenance to false.
59+ # https://docs.aws.amazon.com/lambda/latest/dg/python-image.html#python-image-instructions
5160 platforms : linux/amd64
52- push : true
5361 provenance : false
5462 cache-from : type=gha
5563 cache-to : type=gha,mode=max
64+ push : true
5665 tags : |
5766 ghcr.io/${{ env.PACKAGE_NAME }}:latest
5867 ghcr.io/${{ env.PACKAGE_NAME }}:${{ env.NEXT_TAG }}
You can’t perform that action at this time.
0 commit comments