Does this project still work?
Edit: I tried running the repo using npm run start and this works as expected. I think the docker image is old. I rebuilt it without docker and it appears to run fine.
# Installs docker
# RUN apk add --update --no-cache docker py-pip
# RUN apk add bash bash-doc bash-completion
# RUN pip install docker-compose
Does the docker container still work ?
I tried to run it on docker using my own script and it didn't work. I tried cloning the repo and using docker-compose and that didn't work either.
Payload:
{
"push_data": {},
"repository": {
"repo_name": "maccyber/tagtest:prod"
}
}
Response:
maccyber/tagtest:prod does not exist in scripts/index.js
Configuration:
const scripts = {
'maccyber/testhook': 'hello.sh parameter1 parameter2',
'maccyber/maccyber.io': 'maccyber.io.sh',
'maccyber/tagtest:prod': 'tag.sh', // repo/image:tag
'maccyber/fail': 'fail.sh',
'anshkathuria/tagtest:release-[0-9.]+': 'tag.sh'
}
module.exports = (repoName, tag) => {
const hook = Object.keys(scripts)
.find(key => {
const regex = new RegExp(`^${key}$`, 'gm')
const image = tag ? `${repoName}:${tag}` : repoName
const match = image.match(regex)
return match && match[0] === image
})
return scripts[hook]
}
Does this project still work?Edit: I tried running the repo using npm run start and this works as expected. I think the docker image is old. I rebuilt it without docker and it appears to run fine.
Does the docker container still work ?
I tried to run it on docker using my own script and it didn't work. I tried cloning the repo and using docker-compose and that didn't work either.
Payload:
Response:
maccyber/tagtest:prod does not exist in scripts/index.jsConfiguration: