Skip to content

Commit 1f64ae3

Browse files
committed
Revert "Merge pull request #4 from lambda-feedback/feature/licence"
This reverts commit 0f054d0, reversing changes made to 33c6e64.
1 parent 83a4632 commit 1f64ae3

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

.github/workflows/lambda_build.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -115,31 +115,12 @@ jobs:
115115
if [ -n "${{ secrets.LICENSE }}" ]; then
116116
echo "${{ secrets.LICENSE }}" > dist/LICENSE.txt
117117
echo "License file created at dist/LICENSE.txt"
118-
echo "target=with-licence" >> $GITHUB_OUTPUT
119118
else
120119
echo "LICENSE_TEXT secret not provided. Skipping license file creation."
121120
fi
122121
123122
124-
- name: Build and push with licence
125-
if: ${{ secrets.LICENSE != '' }}
126-
uses: docker/build-push-action@v6
127-
with:
128-
file: ${{ inputs.build-file || 'Dockerfile' }}
129-
context: ${{ inputs.build-context || '.'}}
130-
target: ${{ steps.license.outputs.target }}
131-
push: ${{ inputs.build-push }}
132-
provenance: false
133-
tags: ${{ steps.meta.outputs.tags }}
134-
labels: ${{ steps.meta.outputs.labels }}
135-
cache-from: type=gha
136-
cache-to: type=gha,mode=max,ignore-error=true
137-
platforms: ${{ inputs.build-platforms }}
138-
build-args: ${{ inputs.build-args }}
139-
secrets: ${{ secrets.build-secrets }}
140-
141-
- name: Build and push without licence
142-
if: ${{ secrets.LICENSE != '' }}
123+
- name: Build and push
143124
uses: docker/build-push-action@v6
144125
with:
145126
file: ${{ inputs.build-file || 'Dockerfile' }}

0 commit comments

Comments
 (0)