ci: fix gh_env
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/ci-main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/ci-main.yml
									
									
									
									
										vendored
									
									
								
							@ -152,7 +152,7 @@ jobs:
 | 
			
		||||
      - name: prepare variables
 | 
			
		||||
        id: ev
 | 
			
		||||
        run: |
 | 
			
		||||
          python ./scripts/gh_do_set_branch.py
 | 
			
		||||
          python ./scripts/gh_env.py
 | 
			
		||||
      - name: checkout current code
 | 
			
		||||
        run: |
 | 
			
		||||
          set -x
 | 
			
		||||
@ -290,7 +290,7 @@ jobs:
 | 
			
		||||
        env:
 | 
			
		||||
          DOCKER_USERNAME: ${{ secrets.HARBOR_USERNAME }}
 | 
			
		||||
        run: |
 | 
			
		||||
          python ./scripts/gh_do_set_branch.py
 | 
			
		||||
          python ./scripts/gh_env.py
 | 
			
		||||
      - name: Login to Container Registry
 | 
			
		||||
        uses: docker/login-action@v1
 | 
			
		||||
        if: ${{ steps.ev.outputs.shouldBuild == 'true' }}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/ci-outpost.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci-outpost.yml
									
									
									
									
										vendored
									
									
								
							@ -48,7 +48,7 @@ jobs:
 | 
			
		||||
        env:
 | 
			
		||||
          DOCKER_USERNAME: ${{ secrets.HARBOR_USERNAME }}
 | 
			
		||||
        run: |
 | 
			
		||||
          python ./scripts/gh_do_set_branch.py
 | 
			
		||||
          python ./scripts/gh_env.py
 | 
			
		||||
      - name: Login to Container Registry
 | 
			
		||||
        uses: docker/login-action@v1
 | 
			
		||||
        if: ${{ steps.ev.outputs.shouldBuild == 'true' }}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user