We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1801b08 + c5febdb commit 3e56ecbCopy full SHA for 3e56ecb
.github/workflows/lambda_build.yml
@@ -58,6 +58,7 @@ on:
58
description: "The registry where the image was pushed"
59
value: ${{ jobs.build.outputs.registry }}
60
61
+
62
jobs:
63
build:
64
name: Build (${{ inputs.environment }})
@@ -106,6 +107,16 @@ jobs:
106
107
- name: Set up Docker Buildx
108
uses: docker/setup-buildx-action@v3
109
110
+ - name: Write license file if secret exists
111
+ run:
112
+ if [ -n "${{ secrets.LICENSE }}" ]; then
113
+ echo "${{ secrets.LICENSE }}" > dist/LICENSE.txt
114
+ echo "License file created at dist/LICENSE.txt"
115
+ else
116
+ echo "LICENSE_TEXT secret not provided. Skipping license file creation."
117
+ fi
118
119
120
- name: Build and push
121
uses: docker/build-push-action@v6
122
with:
0 commit comments