Skip to content

Commit

Permalink
[Actions] Update setup-docker [sync git]
Browse files Browse the repository at this point in the history
Signed-off-by: Kang Huaishuai <[email protected]>
  • Loading branch information
khs1994 committed Aug 25, 2023
1 parent 1571e33 commit fe636fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/actions/setup-docker/.github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- 18.09
- 19.03
- "20.10"
- "23.0"
- "24.0"
docker_channel:
- stable
- test
Expand All @@ -28,7 +30,7 @@ jobs:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-latest
- macos-12
- macos-13
include:
# macOS
- os: macos-latest
Expand Down Expand Up @@ -140,7 +142,6 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-18.04
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/setup-docker/lib/setup-docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ system_profiler SPHardwareDataType || true
'docker-ce',
'|',
'grep',
'20.10'
'24.0'
]);
core.endGroup()

Expand Down Expand Up @@ -347,6 +347,7 @@ system_profiler SPHardwareDataType || true
await exec.exec('sudo', [
'apt-get',
'-y',
'--allow-downgrades',
'install',
DOCKER_VERSION_STRING ? `docker-ce=${DOCKER_VERSION_STRING}` : 'docker-ce',
DOCKER_VERSION_STRING ? `docker-ce-cli=${DOCKER_VERSION_STRING}` : 'docker-ce-cli'
Expand Down

0 comments on commit fe636fc

Please sign in to comment.