diff --git a/.github/workflows/build-release-latest.yml b/.github/workflows/build-release-latest.yml index 8775c9e..a8d626d 100644 --- a/.github/workflows/build-release-latest.yml +++ b/.github/workflows/build-release-latest.yml @@ -13,7 +13,6 @@ jobs: - run: /usr/bin/docker build -t ${{ github.job }} -f build/Dockerfile . # actually build .mkp file - run: /usr/bin/docker run --volume $PWD:/source ${{ github.job }} - - run: ls -l ./*.mkp # upload results - uses: actions/upload-artifact@v4 with: diff --git a/build/build-entrypoint.sh b/build/build-entrypoint.sh index 6bb80ea..71f5136 100644 --- a/build/build-entrypoint.sh +++ b/build/build-entrypoint.sh @@ -35,4 +35,7 @@ chmod go+rw $CMK/local/lib/python3/cmk/base/cee/plugins/bakery su - cmk -c "/omd/sites/cmk/bin/mkp package $CMK/tmp/check_mk/yum.manifest.temp" # copy created extension package back into volume -cp $CMK/var/check_mk/packages_local/*.mkp /source \ No newline at end of file +cp $CMK/var/check_mk/packages_local/*.mkp $SOURCE + +# let runner user access the created mkp file which is owned by root now +chmod go+r $SOURCE/*.mkp \ No newline at end of file