ci: fix multi-arch runner builds (#2048)
* ci: fix multi-arch runner builds
This commit is contained in:
		
							parent
							
								
									87f566e1e6
								
							
						
					
					
						commit
						fcb65b046b
					
				|  | @ -63,10 +63,6 @@ jobs: | ||||||
|           ghcr_username: ${{ github.actor }} |           ghcr_username: ${{ github.actor }} | ||||||
|           ghcr_password: ${{ secrets.GITHUB_TOKEN }} |           ghcr_password: ${{ secrets.GITHUB_TOKEN }} | ||||||
| 
 | 
 | ||||||
|       - name: Set-Up Build Environment |  | ||||||
|         run: | |  | ||||||
|           echo "TARGETPLATFORM=$(arch)" >> $GITHUB_ENV |  | ||||||
| 
 |  | ||||||
|       - name: Build and Push Versioned Tags |       - name: Build and Push Versioned Tags | ||||||
|         uses: docker/build-push-action@v3 |         uses: docker/build-push-action@v3 | ||||||
|         with: |         with: | ||||||
|  | @ -75,7 +71,6 @@ jobs: | ||||||
|           platforms: linux/amd64,linux/arm64 |           platforms: linux/amd64,linux/arm64 | ||||||
|           push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} |           push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | ||||||
|           build-args: | |           build-args: | | ||||||
|             TARGETPLATFORM=${{ env.TARGETPLATFORM }} |  | ||||||
|             RUNNER_VERSION=${{ env.RUNNER_VERSION }} |             RUNNER_VERSION=${{ env.RUNNER_VERSION }} | ||||||
|             DOCKER_VERSION=${{ env.DOCKER_VERSION }} |             DOCKER_VERSION=${{ env.DOCKER_VERSION }} | ||||||
|             RUNNER_CONTAINER_HOOKS_VERSION=${{ env.RUNNER_CONTAINER_HOOKS_VERSION }} |             RUNNER_CONTAINER_HOOKS_VERSION=${{ env.RUNNER_CONTAINER_HOOKS_VERSION }} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue