diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7ff226..2b9ae01 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,36 +18,36 @@ jobs: # Do not cancel all jobs if one fails fail-fast: false matrix: - python_version: ["3.9"] - container_engine: - - podman - repo_type: - # Only test a subset of the repo2docker tests since we're testing podman, - # not the full repo2docker functionality - - base - - conda/py310-requirements-file - - dockerfile - # - external - # - julia - # - memlimit - # - nix - # - pipfile - # - r - - unit - - venv/default + # python_version: ["3.9"] + # container_engine: + # - podman + # repo_type: + # # Only test a subset of the repo2docker tests since we're testing podman, + # # not the full repo2docker functionality + # - base + # - conda/py310-requirements-file + # - dockerfile + # # - external + # # - julia + # # - memlimit + # # - nix + # # - pipfile + # # - r + # - unit + # - venv/default include: - - python_version: "3.11" - container_engine: docker - repo_type: base - - python_version: "3.11" - container_engine: docker - repo_type: venv/default + # - python_version: "3.11" + # container_engine: docker + # repo_type: base + # - python_version: "3.11" + # container_engine: docker + # repo_type: venv/default - python_version: "3.11" container_engine: nerdctl repo_type: base - - python_version: "3.11" - container_engine: nerdctl - repo_type: venv/default + # - python_version: "3.11" + # container_engine: nerdctl + # repo_type: venv/default steps: - name: Checkout repo @@ -68,6 +68,18 @@ jobs: curl -sfL https://github.com/containerd/nerdctl/releases/download/v$NERDCTL_VERSION/nerdctl-full-$NERDCTL_VERSION-linux-amd64.tar.gz | sudo tar -zxvf - -C /usr/local # https://github.com/containerd/nerdctl/blob/v1.7.4/docs/faq.md#does-nerdctl-have-an-equivalent-of-sudo-usermod--ag-docker-user- sudo chmod +s /usr/local/bin/nerdctl + sudo buildkitd & + # containerd-rootless-setuptool.sh install + # containerd-rootless-setuptool.sh install-buildkit + + - name: Run nerdctl + if: matrix.container_engine == 'nerdctl' + run: | + nerdctl version + nerdctl info + echo FROM busybox > Dockerfile + nerdctl build -t tmp . + nerdctl run tmp date - name: Install run: |