ci: use podman for simple GitHub workflows

`podman` is installed by default on the Ubuntu runners. Podman is
recommended for developers and contributors, as there are no elevated
privileges required to run it. Docker requires extra permissions to
build and or run container images, and contributors to Ceph-CSI should
not need to spend time working with that (several developers run the
`docker` command with `sudo`, which is discouraged).

Only the multi-arch Workflows require Docker, for the time being.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2023-08-07 13:30:36 +02:00 committed by mergify[bot]
parent e7a8e5d053
commit f371aa2677
6 changed files with 7 additions and 7 deletions

View File

@ -17,4 +17,4 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: codespell
run: CONTAINER_CMD=docker make containerized-test TARGET=codespell
run: make containerized-test TARGET=codespell

View File

@ -19,4 +19,4 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- name: commitlint
# yamllint disable-line rule:line-length
run: make containerized-test CONTAINER_CMD=docker TARGET=commitlint GIT_SINCE="origin/${GITHUB_BASE_REF}"
run: make containerized-test TARGET=commitlint GIT_SINCE="origin/${GITHUB_BASE_REF}"

View File

@ -15,11 +15,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: go-test
run: CONTAINER_CMD=docker make containerized-test TARGET=go-test
run: make containerized-test TARGET=go-test
go-test-api:
name: go-test-api
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: go-test-api
run: CONTAINER_CMD=docker make containerized-test TARGET=go-test-api
run: make containerized-test TARGET=go-test-api

View File

@ -15,4 +15,4 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: golangci-lint
run: CONTAINER_CMD=docker make containerized-test TARGET=go-lint
run: make containerized-test TARGET=go-lint

View File

@ -15,4 +15,4 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: lint-extras
run: CONTAINER_CMD=docker make containerized-test TARGET=lint-extras
run: make containerized-test TARGET=lint-extras

View File

@ -15,4 +15,4 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: mod-check
run: CONTAINER_CMD=docker make containerized-test TARGET=mod-check
run: make containerized-test TARGET=mod-check