Skip to content

Commit

Permalink
Reparando la instalación de Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
martinchogimenez committed Apr 17, 2024
1 parent 9c387ee commit 3e68710
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/CI_Proveedores-QA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@ jobs:

- name: Install Docker
run:
sudo yum update -y
sudo yum install -y docker
sudo service docker start
# sudo apt-get update
# sudo apt-get remove -y containerd.io # Elimina containerd.io si está instalado
# sudo apt-get install -y docker.io
if ! command -v docker > /dev/null; then
sudo yum install docker -y
else
echo "docker is installed."
fi
if systemctl is-active --quiet docker; then
echo "Docker service is already running."
else
sudo systemctl start docker
fi

- name: Build Docker Image
run: |
Expand Down

0 comments on commit 3e68710

Please sign in to comment.