mirror of
				https://gitea.com/docker/build-push-action.git
				synced 2025-10-31 09:08:18 +07:00 
			
		
		
		
	Update ci workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									363c8ed24f
								
							
						
					
					
						commit
						1110973d9c
					
				
							
								
								
									
										20
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -36,8 +36,8 @@ jobs: | |||||||
|         name: Set up Docker Buildx |         name: Set up Docker Buildx | ||||||
|         id: buildx |         id: buildx | ||||||
|         uses: ./setup-buildx/ # change to docker/setup-buildx-action@master |         uses: ./setup-buildx/ # change to docker/setup-buildx-action@master | ||||||
| #        with: |         with: | ||||||
| #          driver-opt: network=host |           driver-opt: network=host | ||||||
|       - |       - | ||||||
|         name: Build and push |         name: Build and push | ||||||
|         uses: ./ |         uses: ./ | ||||||
| @ -46,8 +46,8 @@ jobs: | |||||||
|           file: ./test/Dockerfile-${{ matrix.dockerfile }} |           file: ./test/Dockerfile-${{ matrix.dockerfile }} | ||||||
|           builder: ${{ steps.buildx.outputs.name }} |           builder: ${{ steps.buildx.outputs.name }} | ||||||
|           platforms: linux/amd64,linux/arm64 |           platforms: linux/amd64,linux/arm64 | ||||||
|           #allow: network.host,security.insecure |           allow: network.host,security.insecure | ||||||
|           #push: true |           push: true | ||||||
|           tags: | |           tags: | | ||||||
|             localhost:5000/name/app:latest |             localhost:5000/name/app:latest | ||||||
|             localhost:5000/name/app:1.0.0 |             localhost:5000/name/app:1.0.0 | ||||||
| @ -77,7 +77,7 @@ jobs: | |||||||
|         uses: ./setup-buildx/ # change to docker/setup-buildx-action@master |         uses: ./setup-buildx/ # change to docker/setup-buildx-action@master | ||||||
|         with: |         with: | ||||||
|           version: latest |           version: latest | ||||||
|           #driver-opt: network=host |           driver-opt: network=host | ||||||
|       - |       - | ||||||
|         name: Build and push |         name: Build and push | ||||||
|         uses: ./ |         uses: ./ | ||||||
| @ -89,8 +89,8 @@ jobs: | |||||||
|           file: ./test/Dockerfile |           file: ./test/Dockerfile | ||||||
|           builder: ${{ steps.buildx.outputs.name }} |           builder: ${{ steps.buildx.outputs.name }} | ||||||
|           platforms: linux/amd64,linux/arm64 |           platforms: linux/amd64,linux/arm64 | ||||||
|           #allow: network.host,security.insecure |           allow: network.host,security.insecure | ||||||
|           #push: true |           push: true | ||||||
|           tags: | |           tags: | | ||||||
|             localhost:5000/name/app:latest |             localhost:5000/name/app:latest | ||||||
|             localhost:5000/name/app:1.0.0 |             localhost:5000/name/app:1.0.0 | ||||||
| @ -124,15 +124,15 @@ jobs: | |||||||
|         name: Set up Docker Buildx |         name: Set up Docker Buildx | ||||||
|         id: buildx |         id: buildx | ||||||
|         uses: ./setup-buildx/ # change to docker/setup-buildx-action@master |         uses: ./setup-buildx/ # change to docker/setup-buildx-action@master | ||||||
| #        with: |         with: | ||||||
| #          driver-opt: network=host |           driver-opt: network=host | ||||||
|       - |       - | ||||||
|         name: Build and push |         name: Build and push | ||||||
|         uses: ./ |         uses: ./ | ||||||
|         with: |         with: | ||||||
|           builder: ${{ steps.buildx.outputs.name }} |           builder: ${{ steps.buildx.outputs.name }} | ||||||
|           bake: true |           bake: true | ||||||
|           #push: true |           push: false # set to true when https://github.com/docker/buildx/issues/179 is fixed | ||||||
|           bake-files: | |           bake-files: | | ||||||
|             ./test/config.hcl |             ./test/config.hcl | ||||||
|           bake-targets: | |           bake-targets: | | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user