update documentation and update setup docker action
This commit is contained in:
@@ -4,6 +4,16 @@ description: |
|
||||
Install Docker on the runner environment
|
||||
This action uses Docker's official convenience installation script at https://get.docker.com/
|
||||
|
||||
By default, Docker Buildx is also configured to provide support for modern Docker build workflows, including multi-platform image builds, advanced caching, and BuildKit features.
|
||||
Existing Docker installations are detected automatically and will not be reinstalled.
|
||||
|
||||
inputs:
|
||||
setup-buildx:
|
||||
description: Setup Docker Buildx
|
||||
required: false
|
||||
default: "true"
|
||||
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
|
||||
@@ -19,4 +29,8 @@ runs:
|
||||
curl -fsSL https://get.docker.com | sh
|
||||
echo "Docker installed:"
|
||||
docker --version
|
||||
fi
|
||||
fi
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
if: inputs.setup-buildx == 'true'
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
Reference in New Issue
Block a user