feature/ci-cd-drone-migration #3
@@ -26,7 +26,7 @@ steps:
 | 
				
			|||||||
      - /drone/src/compile.sh
 | 
					      - /drone/src/compile.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: upload-iso-artifact
 | 
					  - name: upload-iso-artifact
 | 
				
			||||||
    image: curlimages/curl:latest
 | 
					    image: alpine/git
 | 
				
			||||||
    depends_on:
 | 
					    depends_on:
 | 
				
			||||||
      - compile
 | 
					      - compile
 | 
				
			||||||
    # when:
 | 
					    # when:
 | 
				
			||||||
@@ -36,8 +36,11 @@ steps:
 | 
				
			|||||||
      GITEA_TOKEN:
 | 
					      GITEA_TOKEN:
 | 
				
			||||||
        from_secret: gitea_token
 | 
					        from_secret: gitea_token
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
 | 
					      - apk add --no-cache curl
 | 
				
			||||||
      - export BUILD_VERSION=$(git rev-parse --short HEAD)
 | 
					      - export BUILD_VERSION=$(git rev-parse --short HEAD)
 | 
				
			||||||
      - export ISO_NAME="Asuro-${BUILD_VERSION}.iso"
 | 
					      - export ISO_NAME="Asuro-${BUILD_VERSION}.iso"
 | 
				
			||||||
 | 
					      - ls -lah
 | 
				
			||||||
 | 
					      - chmod +w Asuro.iso 
 | 
				
			||||||
      - cp Asuro.iso "$ISO_NAME"
 | 
					      - cp Asuro.iso "$ISO_NAME"
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
      # Upload commit-specific ISO
 | 
					      # Upload commit-specific ISO
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user