Skip to content

Commit 9dcf4f0

Browse files
committed
Add docker version input in moby-latest workflow
1 parent a434e35 commit 9dcf4f0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/moby-latest.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Tests against recent Docker engine releases
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Docker version'
8+
required: false
9+
default: 'latest'
10+
type: string
511
schedule:
612
# nightly build, at 23:59 CEST
713
- cron: '59 23 * * *'
@@ -14,8 +20,8 @@ jobs:
1420
strategy:
1521
matrix:
1622
include:
17-
- { install-docker-type: "STABLE", version: latest, channel: stable, rootless: false }
18-
- { install-docker-type: "ROOTLESS", version: latest, channel: stable, rootless: true }
23+
- { install-docker-type: "STABLE", version: "${{ inputs.version }}", channel: stable, rootless: false }
24+
- { install-docker-type: "ROOTLESS", version: "${{ inputs.version }}", channel: stable, rootless: true }
1925
- { install-docker-type: "ROOTFUL", version: edge, channel: test, rootless: false }
2026
name: "Core tests using Docker ${{ matrix.install-docker-type }} (channel ${{ matrix.channel }})"
2127
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)