We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1801b08 commit 3764b2cCopy full SHA for 3764b2c
1 file changed
.github/workflows/lambda_build.yml
@@ -106,6 +106,16 @@ jobs:
106
- name: Set up Docker Buildx
107
uses: docker/setup-buildx-action@v3
108
109
+ - name: Write license file if secret exists
110
+ run:
111
+ if [ -n "${{ secrets.LICENSE }}" ]; then
112
+ echo "${{ secrets.LICENSE }}" > dist/LICENSE.txt
113
+ echo "License file created at dist/LICENSE.txt"
114
+ else
115
+ echo "LICENSE_TEXT secret not provided. Skipping license file creation."
116
+ fi
117
+
118
119
- name: Build and push
120
uses: docker/build-push-action@v6
121
with:
0 commit comments