chore: update workflows config.
This commit is contained in:
		
							
								
								
									
										17
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -122,10 +122,7 @@ jobs:
 | 
			
		||||
            ```
 | 
			
		||||
 | 
			
		||||
      # Create Docker Image
 | 
			
		||||
      - name: Set up QEMU
 | 
			
		||||
        uses: docker/setup-qemu-action@v2
 | 
			
		||||
      - name: Set up Docker Buildx
 | 
			
		||||
        uses: docker/setup-buildx-action@v2
 | 
			
		||||
      - uses: docker/setup-buildx-action@v2
 | 
			
		||||
      - name: Login to Docker Hub
 | 
			
		||||
        uses: docker/login-action@v2
 | 
			
		||||
        with:
 | 
			
		||||
@@ -137,8 +134,8 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          push: true
 | 
			
		||||
          context: .
 | 
			
		||||
          platforms: linux/amd64,linux/arm64,linux/arm64/v7
 | 
			
		||||
          tags: ${{ secrets.DOCKER_USER }}/reference:latest
 | 
			
		||||
          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          tags: wcjiang/reference:latest
 | 
			
		||||
 | 
			
		||||
      - name: Build and push image:tags
 | 
			
		||||
        uses: docker/build-push-action@v3
 | 
			
		||||
@@ -146,8 +143,8 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          push: true
 | 
			
		||||
          context: .
 | 
			
		||||
          platforms: linux/amd64,linux/arm64,linux/arm64/v7
 | 
			
		||||
          tags: ${{ secrets.DOCKER_USER }}/reference:${{steps.changelog.outputs.version}}
 | 
			
		||||
          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          tags: wcjiang/reference:${{steps.changelog.outputs.version}}
 | 
			
		||||
 | 
			
		||||
      # Create Docker Image in Github
 | 
			
		||||
      - name: Login to the GitHub Container Registry
 | 
			
		||||
@@ -162,7 +159,7 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          push: true
 | 
			
		||||
          context: .
 | 
			
		||||
          platforms: linux/amd64,linux/arm64,linux/arm64/v7
 | 
			
		||||
          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          tags: ghcr.io/jaywcjlove/reference:latest
 | 
			
		||||
 | 
			
		||||
      - name: Build and push image:tags
 | 
			
		||||
@@ -171,7 +168,7 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          push: true
 | 
			
		||||
          context: .
 | 
			
		||||
          platforms: linux/amd64,linux/arm64,linux/arm64/v7
 | 
			
		||||
          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          tags: ghcr.io/jaywcjlove/reference:${{steps.changelog.outputs.version}}
 | 
			
		||||
 | 
			
		||||
      # # Create Docker Image in Github
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user