mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-03-29 16:33:46 +00:00
Downgrade Docker on GHA.
This commit is contained in:
parent
7f110fa08e
commit
ec48a07665
23
.github/workflows/nox.yml
vendored
23
.github/workflows/nox.yml
vendored
@ -31,5 +31,28 @@ jobs:
|
|||||||
upload-codecov-push: false
|
upload-codecov-push: false
|
||||||
upload-codecov-schedule: true
|
upload-codecov-schedule: true
|
||||||
max-ansible-core: "2.17"
|
max-ansible-core: "2.17"
|
||||||
|
# For some reason GitHub decided to bump Docker on the ubuntu-24.04 image,
|
||||||
|
# which is not compatible with podman and various other things.
|
||||||
|
pre-test-cmd-integration: |-
|
||||||
|
# See https://docs.docker.com/engine/install/ubuntu/.
|
||||||
|
|
||||||
|
# Add Docker's official GPG key:
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install ca-certificates curl
|
||||||
|
sudo install -m 0755 -d /etc/apt/keyrings
|
||||||
|
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
||||||
|
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||||
|
|
||||||
|
# Add the repository to Apt sources:
|
||||||
|
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
|
||||||
|
Types: deb
|
||||||
|
URIs: https://download.docker.com/linux/ubuntu
|
||||||
|
Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")
|
||||||
|
Components: stable
|
||||||
|
Signed-By: /etc/apt/keyrings/docker.asc
|
||||||
|
EOF
|
||||||
|
|
||||||
|
sudo apt update
|
||||||
|
sudo apt-get install -y --allow-downgrades docker-ce-cli=5:28.0.4-1~ubuntu.24.04~noble docker-ce=5:28.0.4-1~ubuntu.24.04~noble
|
||||||
secrets:
|
secrets:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user