Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config-file: bail if it doesn't exist and correctly mount if it does #204

Closed
wants to merge 1 commit into from
Closed

Conversation

nwmcsween
Copy link

untested

@wyrie
Copy link

wyrie commented Sep 25, 2021

Thanks for the github action! I'd like to use it but I am getting the unknown flag: --ci-config error which I believe is fixed in this PR.

Can you merge and bump please?

Copy link

@aairey aairey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The flag --ci-config should come behind the image name in the docker run command.
This PR fixes that.


if (configFile) {
runOptions.push('-v', `${configFile}:/.dive-ci`)
cmdOptions.push('--config-file', '/.dive-ci')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this not use the yaml file supplied in the parameters?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind. I see that the config file is mapped to this name inside the container..

@leemeador
Copy link

Your fork does not have the /dist/index.js file rebuilt from the your /src/index.ts so when I use your fork, it fails still

@MaxymVlasov
Copy link

Just in case, #373 works

@nwmcsween nwmcsween closed this by deleting the head repository Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants