mirror of
https://github.com/anjia0532/gcr.io_mirror.git
synced 2025-09-23 03:59:19 +08:00
debug
This commit is contained in:
13
.github/workflows/gcr.io_mirror.yml
vendored
13
.github/workflows/gcr.io_mirror.yml
vendored
@@ -170,8 +170,17 @@ jobs:
|
|||||||
labels=['failed']
|
labels=['failed']
|
||||||
}
|
}
|
||||||
|
|
||||||
let abc = "${{ steps.pullIssuesPorter.outputs.GCR_IMAGE }}"
|
let gcrImg = "${{ steps.pullIssuesPorter.outputs.GCR_IMAGE }}"
|
||||||
console.log(abc)
|
console.log(gcrImg)
|
||||||
|
|
||||||
|
let colonIndex = gcrImg.indexOf(":")
|
||||||
|
console.log(colonIndex)
|
||||||
|
|
||||||
|
if colonIndex>0 {
|
||||||
|
gcrImg=gcrImg.substr(0,colonIndex)
|
||||||
|
}
|
||||||
|
console.log(gcrImg)
|
||||||
|
|
||||||
const issuesComment = await github.issues.createComment({
|
const issuesComment = await github.issues.createComment({
|
||||||
owner: '${{ env.GH_USER }}',
|
owner: '${{ env.GH_USER }}',
|
||||||
repo: '${{ env.REPO_NAME }}',
|
repo: '${{ env.REPO_NAME }}',
|
||||||
|
Reference in New Issue
Block a user