From 7238e94606c13a594f900d8f5dff7273d936f5dd Mon Sep 17 00:00:00 2001 From: HenriWahl <2835065+HenriWahl@users.noreply.github.com> Date: Sun, 21 Jul 2024 22:24:01 +0200 Subject: [PATCH] fiddle with github action --- .github/workflows/build-release-latest.yml | 1 - build/build-entrypoint.sh | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) 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