Skip to content

Commit 343f867

Browse files
committed
ci: rootless job
1 parent bcd97be commit 343f867

1 file changed

Lines changed: 15 additions & 31 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ jobs:
5555
uses: ./
5656
with:
5757
version: ${{ env.DOCKER_VERSION }}
58-
-
59-
name: Dump context
60-
if: always()
61-
uses: crazy-max/ghaction-dump-context@v2
6258

6359
channel:
6460
runs-on: ${{ matrix.os }}
@@ -85,10 +81,6 @@ jobs:
8581
with:
8682
version: v24.0.0-rc.4
8783
channel: test
88-
-
89-
name: Dump context
90-
if: always()
91-
uses: crazy-max/ghaction-dump-context@v2
9284

9385
daemon-config:
9486
runs-on: ${{ matrix.os }}
@@ -120,10 +112,6 @@ jobs:
120112
"containerd-snapshotter": true
121113
}
122114
}
123-
-
124-
name: Dump context
125-
if: always()
126-
uses: crazy-max/ghaction-dump-context@v2
127115
128116
context:
129117
runs-on: ${{ matrix.os }}
@@ -154,10 +142,6 @@ jobs:
154142
name: Check context
155143
run: |
156144
docker context inspect foo
157-
-
158-
name: Dump context
159-
if: always()
160-
uses: crazy-max/ghaction-dump-context@v2
161145
162146
lima-start-args:
163147
#runs-on: macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
@@ -220,10 +204,6 @@ jobs:
220204
name: Inspect
221205
run: |
222206
docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}'
223-
-
224-
name: Dump context
225-
if: always()
226-
uses: crazy-max/ghaction-dump-context@v2
227207
228208
build-macos:
229209
runs-on: ${{ matrix.os }}
@@ -270,10 +250,6 @@ jobs:
270250
name: Inspect
271251
run: |
272252
docker buildx imagetools inspect localhost:5000/name/app:latest --format '{{json .}}'
273-
-
274-
name: Dump context
275-
if: always()
276-
uses: crazy-max/ghaction-dump-context@v2
277253
278254
build-windows:
279255
runs-on: windows-latest
@@ -295,10 +271,6 @@ jobs:
295271
name: Inspect
296272
run: |
297273
docker image inspect test
298-
-
299-
name: Dump context
300-
if: always()
301-
uses: crazy-max/ghaction-dump-context@v2
302274
303275
set-host:
304276
runs-on: ubuntu-latest
@@ -315,7 +287,19 @@ jobs:
315287
name: List contexts
316288
run: |
317289
docker context ls
290+
291+
rootless:
292+
runs-on: ubuntu-latest
293+
steps:
318294
-
319-
name: Dump context
320-
if: always()
321-
uses: crazy-max/ghaction-dump-context@v2
295+
name: Checkout
296+
uses: actions/checkout@v4
297+
-
298+
name: Set up Docker
299+
uses: ./
300+
with:
301+
rootless: true
302+
-
303+
name: List contexts
304+
run: |
305+
docker context ls

0 commit comments

Comments
 (0)