Skip to content

Commit 8a6606d

Browse files
committed
adding build comment
1 parent 2d773ba commit 8a6606d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff 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

1015
on:
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 }}

0 commit comments

Comments
 (0)