From bd5f52fb5299de617f1e898a51e9a83e58f57e64 Mon Sep 17 00:00:00 2001 From: abdurawoof Date: Thu, 12 Dec 2024 15:20:19 +0530 Subject: [PATCH] docker install --- .github/workflows/catalog.yml | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/catalog.yml b/.github/workflows/catalog.yml index aef1882..e0b6626 100644 --- a/.github/workflows/catalog.yml +++ b/.github/workflows/catalog.yml @@ -15,18 +15,25 @@ jobs: - name: Install Docker run: | - # Add Docker's official GPG key: sudo apt-get update - sudo apt-get 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: - echo \ - "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ - sudo tee /etc/apt/sources.list.d/docker.list > /dev/null - sudo apt-get update - sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin + sudo apt-get install -y docker.io + sudo systemctl start docker + sudo systemctl enable docker + + # - name: Install Docker + # run: | + # # Add Docker's official GPG key: + # sudo apt-get update + # sudo apt-get 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: + # echo \ + # "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ + # $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ + # sudo tee /etc/apt/sources.list.d/docker.list > /dev/null + # sudo apt-get update + # sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - name: Install AWS CLI run: |