diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile new file mode 100644 index 00000000000000..ae779f5f8dbce6 --- /dev/null +++ b/.github/workflows/Dockerfile @@ -0,0 +1,3 @@ +FROM python:3.11-rc-slim-buster +RUN apt update +RUN apt-get install git diff --git a/.github/workflows/chef.yaml b/.github/workflows/chef.yaml index 2adcd3d77f8395..0dc22574a78a18 100644 --- a/.github/workflows/chef.yaml +++ b/.github/workflows/chef.yaml @@ -28,17 +28,10 @@ jobs: name: Chef - Validate cached ZAP files runs-on: ubuntu-latest if: github.actor != 'restyled-io[bot]' - - container: - image: python:3.11-rc-slim-buster - options: --user root - + runs: + using: 'docker' + image: 'Dockerfile' steps: - - name: Install git - shell: bash - run: | - sudo apt update - sudo apt-get install git - uses: Wandalen/wretry.action@v1.0.15 name: Checkout with: