Original flow, generated tag
This commit is contained in:
		
							parent
							
								
									b25ea3c1ae
								
							
						
					
					
						commit
						97eb01374c
					
				
					 1 changed files with 5 additions and 18 deletions
				
			
		
							
								
								
									
										23
									
								
								.github/workflows/build_docker_images.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/build_docker_images.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -73,6 +73,10 @@ jobs: | ||||||
|         uses: actions/download-artifact@v2 |         uses: actions/download-artifact@v2 | ||||||
|         with: |         with: | ||||||
|           name: Package |           name: Package | ||||||
|  |       -  | ||||||
|  |         name: Generate tags | ||||||
|  |         id: docker_tags | ||||||
|  |         uses: dnaka91/action-docker-tags@v0.1 | ||||||
|       - |       - | ||||||
|         name: Build and push SHA |         name: Build and push SHA | ||||||
|         id: docker_build |         id: docker_build | ||||||
|  | @ -81,21 +85,4 @@ jobs: | ||||||
|           context: . |           context: . | ||||||
|           file: ./docker/demo/Dockerfile |           file: ./docker/demo/Dockerfile | ||||||
|           push: true |           push: true | ||||||
|           tags: bengig/seb-server:${{ github.sha }} |           tags: ${{ steps.docker_tags.outputs.tags }} | ||||||
|       -  |  | ||||||
|         name: Retag image |  | ||||||
|         if: github.ref != null |  | ||||||
|         uses: flownative/action-docker-publish-semver@master |  | ||||||
|         with: |  | ||||||
|           tag_ref: ${{ github.ref }} |  | ||||||
|           tag_latest: 'yes' |  | ||||||
| 
 |  | ||||||
|           source_image_name: bengig/seb-server |  | ||||||
|           source_registry_username: ${{ secrets.DOCKERHUB_USERNAME }} |  | ||||||
|           source_registry_password: ${{ secrets.DOCKERHUB_TOKEN }} |  | ||||||
|           source_registry_endpoint: https://index.docker.io/v2/ |  | ||||||
| 
 |  | ||||||
|           target_image_name: bengig/seb-server |  | ||||||
|           target_registry_username: ${{ secrets.DOCKERHUB_USERNAME }} |  | ||||||
|           target_registry_password: ${{ secrets.DOCKERHUB_TOKEN }} |  | ||||||
|           target_registry_endpoint: https://index.docker.io/v2/ |  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bengt Giger
						Bengt Giger