diff --git a/.github/workflows/cli_release.yaml b/.github/workflows/cli_release.yaml index e81f2e895f8..d8d784a7b8d 100644 --- a/.github/workflows/cli_release.yaml +++ b/.github/workflows/cli_release.yaml @@ -19,6 +19,9 @@ jobs: needs: get-dev-image container: image: ${{ needs.get-dev-image.outputs.image-with-tag }} + # --privileged is needed in order for podman to work. Otherwise it fails + # to create a new namespace when the clone syscall happens. + options: --privileged env: ARTIFACT_UPLOAD_LOG: "artifact_uploads.json" steps: @@ -59,7 +62,6 @@ jobs: export TAG_NAME="${REF#*/tags/}" mkdir -p "artifacts/" export ARTIFACTS_DIR="$(realpath artifacts/)" - sysctl -w kernel.unprivileged_userns_clone=1 ./ci/save_version_info.sh ./ci/cli_build_release.sh - name: Upload Github Artifacts