diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8387452507..ad02697bd2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -145,7 +145,7 @@ jobs: working-directory: ${{ matrix.component }} run: | mkdir -p dist out - cp LICENSE dist/LICENSE.txt + cp $GITHUB_WORKSPACE/LICENSE dist/LICENSE.txt export GIT_COMMIT=$(git rev-parse --short HEAD) export GIT_DIRTY=$(test -n "$(git status --porcelain)" && echo "+CHANGES") @@ -166,7 +166,7 @@ jobs: LICENSE_DIR: ".release/linux/package/usr/share/doc/${{ env.PKG_NAME }}" run: | mkdir -p "$LICENSE_DIR" - cp LICENSE "$LICENSE_DIR/LICENSE.txt" + cp $GITHUB_WORKSPACE/LICENSE "$LICENSE_DIR/LICENSE.txt" - name: Package rpm and deb files if: matrix.goos == 'linux' && matrix.component == 'cli' && matrix.skip_packaging != 'true' @@ -274,7 +274,7 @@ jobs: unzip -j *.zip - name: Copy LICENSE run: - cp LICENSE ./control-plane + cp $GITHUB_WORKSPACE/LICENSE $GITHUB_WORKSPACE/control-plane # This naming convention will be used ONLY for per-commit dev images - name: Set docker dev tag