Use another env for an image tag
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/container-stable.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/container-stable.yaml
									
									
									
									
										vendored
									
									
								
							@@ -32,10 +32,6 @@ jobs:
 | 
				
			|||||||
          username: ${{ github.repository_owner }}
 | 
					          username: ${{ github.repository_owner }}
 | 
				
			||||||
          password: ${{ secrets.CR_PAT }}
 | 
					          password: ${{ secrets.CR_PAT }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Debug
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          echo ${{ env.GITHUB_ACTION_REPOSITORY }}
 | 
					 | 
				
			||||||
          env
 | 
					 | 
				
			||||||
      - name: Build
 | 
					      - name: Build
 | 
				
			||||||
        uses: docker/build-push-action@v2
 | 
					        uses: docker/build-push-action@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@@ -45,7 +41,7 @@ jobs:
 | 
				
			|||||||
          platforms: linux/amd64,linux/arm64
 | 
					          platforms: linux/amd64,linux/arm64
 | 
				
			||||||
          push: true
 | 
					          push: true
 | 
				
			||||||
          tags: |
 | 
					          tags: |
 | 
				
			||||||
            ghcr.io/${{ env.GITHUB_ACTION_REPOSITORY }}:stable
 | 
					            ghcr.io/${{ env.GITHUB_REPOSITORY }}:stable
 | 
				
			||||||
          labels: |
 | 
					          labels: |
 | 
				
			||||||
            action_id=${{ github.action }}
 | 
					            action_id=${{ github.action }}
 | 
				
			||||||
            action_link=${{ env.LINK }}
 | 
					            action_link=${{ env.LINK }}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/container-version.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/container-version.yaml
									
									
									
									
										vendored
									
									
								
							@@ -44,7 +44,7 @@ jobs:
 | 
				
			|||||||
          platforms: linux/amd64,linux/arm64
 | 
					          platforms: linux/amd64,linux/arm64
 | 
				
			||||||
          push: true
 | 
					          push: true
 | 
				
			||||||
          tags: |
 | 
					          tags: |
 | 
				
			||||||
            ghcr.io/${{ env.GITHUB_ACTION_REPOSITORY }}:${{ env.TAG }}
 | 
					            ghcr.io/${{ env.GITHUB_REPOSITORY }}:${{ env.TAG }}
 | 
				
			||||||
          labels: |
 | 
					          labels: |
 | 
				
			||||||
            action_id=${{ github.action }}
 | 
					            action_id=${{ github.action }}
 | 
				
			||||||
            action_link=${{ env.LINK }}
 | 
					            action_link=${{ env.LINK }}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user