build(workflows): manually installing docker ce
Some checks failed
/ desec-script (push) Failing after 23s
Some checks failed
/ desec-script (push) Failing after 23s
This commit is contained in:
parent
6498d72b5b
commit
4fb99509dd
1 changed files with 15 additions and 2 deletions
|
|
@ -10,9 +10,22 @@ jobs:
|
|||
|
||||
- run: |
|
||||
cd server-scripts/desec-ip-sync/
|
||||
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/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||
|
||||
- name: Set up Docker
|
||||
uses: docker/setup-docker-action@v4
|
||||
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
|
||||
Types: deb
|
||||
URIs: https://download.docker.com/linux/debian
|
||||
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
||||
Components: stable
|
||||
Signed-By: /etc/apt/keyrings/docker.asc
|
||||
EOF
|
||||
|
||||
sudo apt update
|
||||
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
|
||||
|
||||
- name: Login to Forgejo Container Registry
|
||||
uses: docker/login-action@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue