mirror of
				https://git.mirrors.martin98.com/https://github.com/docker/setup-docker-action
				synced 2025-10-31 10:41:10 +08:00 
			
		
		
		
	
		
			
				
	
	
	
		
			2.4 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			2.4 KiB
		
	
	
	
	
	
	
	
About
GitHub Action to set up (download and install) Docker CE. Works on Linux, macOS and Windows.
Usage
name: ci
on:
  push:
jobs:
  docker:
    runs-on: ubuntu-latest
    steps:
      -
        name: Set up Docker
        uses: crazy-max/ghaction-setup-docker@v1
Customizing
inputs
Following inputs can be used as step.with keys
| Name | Type | Default | Description | 
|---|---|---|---|
| version | String | latest | Docker CE version (e.g., v23.0.1). | 
| channel | String | stable | Docker CE channel (e.g, stable,edgeortest). | 
| context | String | setup-docker-action | Docker context name. | 
Contributing
Want to contribute? Awesome! You can find information about contributing to this project in the CONTRIBUTING.md
 
			