ci: rootless job

This commit is contained in:
CrazyMax 2024-11-14 14:26:25 +01:00
parent bcd97be19b
commit 343f86705e
No known key found for this signature in database
GPG Key ID: ADE44D8C9D44FBE4

View File

@ -55,10 +55,6 @@ jobs:
uses: ./ uses: ./
with: with:
version: ${{ env.DOCKER_VERSION }} version: ${{ env.DOCKER_VERSION }}
-
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v2
channel: channel:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -85,10 +81,6 @@ jobs:
with: with:
version: v24.0.0-rc.4 version: v24.0.0-rc.4
channel: test channel: test
-
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v2
daemon-config: daemon-config:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -120,10 +112,6 @@ jobs:
"containerd-snapshotter": true "containerd-snapshotter": true
} }
} }
-
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v2
context: context:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -154,10 +142,6 @@ jobs:
name: Check context name: Check context
run: | run: |
docker context inspect foo docker context inspect foo
-
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v2
lima-start-args: lima-start-args:
#runs-on: macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317 #runs-on: macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
@ -220,10 +204,6 @@ jobs:
name: Inspect name: Inspect
run: | run: |
docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}' docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}'
-
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v2
build-macos: build-macos:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -270,10 +250,6 @@ jobs:
name: Inspect name: Inspect
run: | run: |
docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}' docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}'
-
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v2
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
@ -295,10 +271,6 @@ jobs:
name: Inspect name: Inspect
run: | run: |
docker image inspect test docker image inspect test
-
name: Dump context
if: always()
uses: crazy-max/ghaction-dump-context@v2
set-host: set-host:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -315,7 +287,19 @@ jobs:
name: List contexts name: List contexts
run: | run: |
docker context ls docker context ls
rootless:
runs-on: ubuntu-latest
steps:
- -
name: Dump context name: Checkout
if: always() uses: actions/checkout@v4
uses: crazy-max/ghaction-dump-context@v2 -
name: Set up Docker
uses: ./
with:
rootless: true
-
name: List contexts
run: |
docker context ls