doc: Update ci.yml
This commit is contained in:
		
							
								
								
									
										44
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										44
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -146,30 +146,30 @@ jobs:
 | 
			
		||||
          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          tags: wcjiang/reference:${{steps.changelog.outputs.version}}
 | 
			
		||||
 | 
			
		||||
      # Create Docker Image in Github
 | 
			
		||||
      - name: Login to the GitHub Container Registry
 | 
			
		||||
        uses: docker/login-action@v2
 | 
			
		||||
        with:
 | 
			
		||||
          registry: ghcr.io
 | 
			
		||||
          username: ${{ github.actor }}
 | 
			
		||||
          password: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
      # # Create Docker Image in Github
 | 
			
		||||
      # - name: Login to the GitHub Container Registry
 | 
			
		||||
      #   uses: docker/login-action@v2
 | 
			
		||||
      #   with:
 | 
			
		||||
      #     registry: ghcr.io
 | 
			
		||||
      #     username: ${{ github.actor }}
 | 
			
		||||
      #     password: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
      - name: Build and push image:latest
 | 
			
		||||
        uses: docker/build-push-action@v3
 | 
			
		||||
        with:
 | 
			
		||||
          push: true
 | 
			
		||||
          context: .
 | 
			
		||||
          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          tags: ghcr.io/jaywcjlove/reference:latest
 | 
			
		||||
      # - name: Build and push image:latest
 | 
			
		||||
      #   uses: docker/build-push-action@v3
 | 
			
		||||
      #   with:
 | 
			
		||||
      #     push: true
 | 
			
		||||
      #     context: .
 | 
			
		||||
      #     platforms: linux/amd64,linux/arm64
 | 
			
		||||
      #     tags: ghcr.io/jaywcjlove/reference:latest
 | 
			
		||||
 | 
			
		||||
      - name: Build and push image:tags
 | 
			
		||||
        uses: docker/build-push-action@v3
 | 
			
		||||
        if: steps.create_tag.outputs.successful
 | 
			
		||||
        with:
 | 
			
		||||
          push: true
 | 
			
		||||
          context: .
 | 
			
		||||
          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          tags: ghcr.io/jaywcjlove/reference:${{steps.changelog.outputs.version}}
 | 
			
		||||
      # - name: Build and push image:tags
 | 
			
		||||
      #   uses: docker/build-push-action@v3
 | 
			
		||||
      #   if: steps.create_tag.outputs.successful
 | 
			
		||||
      #   with:
 | 
			
		||||
      #     push: true
 | 
			
		||||
      #     context: .
 | 
			
		||||
      #     platforms: linux/amd64,linux/arm64
 | 
			
		||||
      #     tags: ghcr.io/jaywcjlove/reference:${{steps.changelog.outputs.version}}
 | 
			
		||||
 | 
			
		||||
      # # Create Docker Image in Github
 | 
			
		||||
      # - name: Login to GitHub registry
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user