diff --git a/.gitea/workflows/base-build.yml b/.gitea/workflows/base-build.yml index d10085e..a4561ca 100644 --- a/.gitea/workflows/base-build.yml +++ b/.gitea/workflows/base-build.yml @@ -25,10 +25,17 @@ jobs: - name: Checkout repo uses: actions/checkout@v3 - - name: Run Alpine build scripts + - name: Run Alpine build scripts inside privileged container run: | - mkdir -p latest - bash base-image-script/alpine-base_pt1.sh + docker run --rm --privileged \ + -v "${{ github.workspace }}":/workspace \ + -w /workspace \ + alpine:latest \ + sh -c " + apk add --no-cache bash curl wget sudo git jq && \ + chmod +x base-image-script/*.sh && \ + bash base-image-script/alpine-base_pt1.sh + " - name: Show tarball run: ls -lh ${{ env.OUTPUT_TAR }}