mirror of
				https://gitea.com/docker/build-push-action.git
				synced 2025-10-31 00:58:18 +07:00 
			
		
		
		
	Changes
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									f76e1de265
								
							
						
					
					
						commit
						9b234cb12f
					
				| @ -4,10 +4,10 @@ | |||||||
| [](https://github.com/docker/build-push-action/actions?workflow=test) | [](https://github.com/docker/build-push-action/actions?workflow=test) | ||||||
| [](https://codecov.io/gh/docker/build-push-action) | [](https://codecov.io/gh/docker/build-push-action) | ||||||
| 
 | 
 | ||||||
| ## Upgrade | ## Upgrade from v1 | ||||||
| 
 | 
 | ||||||
| `v2` of this action changes drastically and now uses Docker [Buildx](https://github.com/docker/buildx). It works with | `v2` of this action includes significant updates and now uses Docker [Buildx](https://github.com/docker/buildx). It | ||||||
| 3 new actions ([login](https://github.com/docker/login-action), [setup-buildx](https://github.com/docker/setup-buildx-action) | works with 3 new optional actions ([login](https://github.com/docker/login-action), [setup-buildx](https://github.com/docker/setup-buildx-action) | ||||||
| and [setup-qemu](https://github.com/docker/setup-qemu-action)) that we have created. It's also rewritten as a | and [setup-qemu](https://github.com/docker/setup-qemu-action)) that we have created. It's also rewritten as a | ||||||
| [typescript-action](https://github.com/actions/typescript-action/) to be as closed as possible of the | [typescript-action](https://github.com/actions/typescript-action/) to be as closed as possible of the | ||||||
| [GitHub Runner](https://github.com/actions/virtual-environments) during its execution (#71 #92). | [GitHub Runner](https://github.com/actions/virtual-environments) during its execution (#71 #92). | ||||||
|  | |||||||
| @ -2,11 +2,12 @@ | |||||||
| 
 | 
 | ||||||
| ## v1 to v2 | ## v1 to v2 | ||||||
| 
 | 
 | ||||||
| * Rename `path` input to `context` | * Input `path` is now called `context` for consistency with other Docker build tools | ||||||
| * Rename `dockerfile` input to `file` | * `path` defaults to current git repository so checkout action is not required in a workflow | ||||||
| * Rename `always_pull` input to `pull` | * Rename `dockerfile` input to `file` for consistency with other Docker build tools | ||||||
|  | * Rename `always_pull` input to `pull` for consistency with other Docker build tools | ||||||
| * Add `builder` input to be able to choose a builder instance through our [setup-buildx action](https://github.com/docker/setup-buildx-action) | * Add `builder` input to be able to choose a builder instance through our [setup-buildx action](https://github.com/docker/setup-buildx-action) | ||||||
| * Add [`platforms`](https://github.com/docker/buildx#---platformvaluevalue) input | * Add [`platforms`](https://github.com/docker/buildx#---platformvaluevalue) input to support multi-platform builds | ||||||
| * Add [`allow`](https://github.com/docker/buildx#--allowentitlement) input | * Add [`allow`](https://github.com/docker/buildx#--allowentitlement) input | ||||||
| * Add [`load`](https://github.com/docker/buildx#--load) input | * Add [`load`](https://github.com/docker/buildx#--load) input | ||||||
| * Add [`outputs`](https://github.com/docker/buildx#-o---outputpath-typetypekeyvalue) input | * Add [`outputs`](https://github.com/docker/buildx#-o---outputpath-typetypekeyvalue) input | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user