22 lines
632 B
YAML
22 lines
632 B
YAML
name: Setup Docker
|
|
|
|
description: |
|
|
Install Docker on the runner environment
|
|
This action uses Docker's official convenience installation script at https://get.docker.com/
|
|
|
|
runs:
|
|
using: composite
|
|
|
|
steps:
|
|
- name: Install Docker
|
|
shell: bash
|
|
run: |
|
|
echo "Checking docker installation"
|
|
if command -v docker &> /dev/null; then
|
|
echo "Docker installation found"
|
|
else
|
|
echo "Docker installation not found. Docker will be installed"
|
|
curl -fsSL https://get.docker.com | sh
|
|
echo "Docker installed:"
|
|
docker --version
|
|
fi |