github action: fix for uploaded to gh packages
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/test_and_publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/test_and_publish.yml
									
									
									
									
										vendored
									
									
								
							| @@ -201,9 +201,9 @@ jobs: | ||||
|       if: startsWith(github.ref, 'refs/tags/') | ||||
|       run: | | ||||
|         for image in postgresql backend web do; do | ||||
|             docker push netdisco/${IMAGE_ROOT}-$image | ||||
|           docker push netdisco/${IMAGE_ROOT}-$image | ||||
|           docker tag ${IMAGE_ROOT}-$image netdisco/netdisco:latest-$image | ||||
|             docker push netdisco/netdisco:latest-$image | ||||
|           docker push netdisco/netdisco:latest-$image | ||||
|         done | ||||
|       continue-on-error: true | ||||
|  | ||||
| @@ -219,10 +219,10 @@ jobs: | ||||
|       if: startsWith(github.ref, 'refs/tags/') | ||||
|       run: | | ||||
|         for image in postgresql backend web do; do | ||||
|             docker tag ${IMAGE_ROOT}-$image ghcr.io/netdisco/netdisco:${IMAGE_ROOT}-$image | ||||
|             docker push ghcr.io/netdisco/${IMAGE_ROOT}-$image | ||||
|             docker tag ${IMAGE_ROOT}-$image ghcr.io/netdisco/netdisco:latest-$image | ||||
|             docker push ghcr.io/netdisco/netdisco:latest-$image | ||||
|           docker tag ${IMAGE_ROOT}-$image ghcr.io/netdisco/${IMAGE_ROOT}-$image | ||||
|           docker push ghcr.io/netdisco/${IMAGE_ROOT}-$image | ||||
|           docker tag ${IMAGE_ROOT}-$image ghcr.io/netdisco/netdisco:latest-$image | ||||
|           docker push ghcr.io/netdisco/netdisco:latest-$image | ||||
|         done | ||||
|       continue-on-error: true | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user