mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
add LICENSE to release artifacts (#20345)
* add LICENSE(.txt) to zip that goes on releases.hashicorp.com * add LICENSE(.txt) to linux packages and docker image * add some more docker labels (including license)
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -198,6 +198,13 @@ jobs:
|
||||
name: ${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip
|
||||
path: ${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip
|
||||
|
||||
- name: Copy license file
|
||||
env:
|
||||
LICENSE_DIR: ".release/linux/package/usr/share/doc/${{ env.PKG_NAME }}"
|
||||
run: |
|
||||
mkdir -p "$LICENSE_DIR"
|
||||
cp LICENSE "$LICENSE_DIR/LICENSE.txt"
|
||||
|
||||
- name: Package
|
||||
uses: hashicorp/actions-packaging-linux@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user