mirror of
				https://github.com/docker/build-push-action.git
				synced 2025-10-23 08:56:39 +08:00 
			
		
		
		
	Merge pull request #708 from kaznovac/patch-1
[docs] test-before-push: push tested image as latest
This commit is contained in:
		| @@ -17,7 +17,8 @@ on: | ||||
|       - 'main' | ||||
|  | ||||
| env: | ||||
|   TEST_TAG: user/myapp:test | ||||
|   TEST_TAG: user/app:test | ||||
|   LATEST_TAG: user/app:latest | ||||
|  | ||||
| jobs: | ||||
|   docker: | ||||
| @@ -56,7 +57,7 @@ jobs: | ||||
|           context: . | ||||
|           platforms: linux/amd64,linux/arm64 | ||||
|           push: true | ||||
|           tags: ${{ env.TEST_TAG }} | ||||
|           tags: ${{ env.LATEST_TAG }} | ||||
| ``` | ||||
|  | ||||
| > **Note** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user