Skip to content

Commit c266045

Browse files
committed
gha: test docker-ce 27.1.0
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 44d7f0b commit c266045

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/ci-rootless.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ jobs:
4747
checks: write
4848
steps:
4949
- uses: actions/checkout@v4
50+
- name: Install Latest Docker
51+
run: |
52+
sudo systemctl stop docker.service
53+
sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin
54+
curl -fsSL https://test.docker.com -o get-docker.sh
55+
sudo REPO_FILE=docker-ce-staging.repo DOWNLOAD_URL=https://download-stage.docker.com sh ./get-docker.sh
56+
- name: Check Docker version
57+
run: docker version
5058
- name: Setup rootless Docker
5159
uses: ScribeMD/[email protected]
5260
- name: Remove Docket root socket

.github/workflows/moby-latest.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,19 @@ jobs:
2020

2121
- name: Install Stable Docker
2222
if: ${{ matrix.install-docker-type == 'STABLE' }}
23-
run: curl -fsSL https://get.docker.com | sh
23+
run: |
24+
sudo systemctl stop docker.service
25+
sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin
26+
curl -fsSL https://test.docker.com -o get-docker.sh
27+
sudo REPO_FILE=docker-ce-staging.repo DOWNLOAD_URL=https://download-stage.docker.com sh ./get-docker.sh
2428
2529
- name: Install Docker from the TEST channel
2630
if: ${{ matrix.install-docker-type == 'ROOTFUL' }}
27-
run: curl -fsSL https://test.docker.com | sh
31+
run: |
32+
sudo systemctl stop docker.service
33+
sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin
34+
curl -fsSL https://test.docker.com -o get-docker.sh
35+
sudo REPO_FILE=docker-ce-staging.repo DOWNLOAD_URL=https://download-stage.docker.com sh ./get-docker.sh
2836
2937
- name: Setup rootless Docker
3038
if: ${{ matrix.install-docker-type == 'ROOTLESS' }}

0 commit comments

Comments
 (0)