diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 035d4d3..04c4509 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,4 +42,4 @@ jobs: run: | docker run --rm score-k8s:test --version docker run -v .:/score-k8s --rm score-k8s:test init - ls | grep score.yaml + cat score.yaml diff --git a/main_init.go b/main_init.go index 08dad00..4698f76 100644 --- a/main_init.go +++ b/main_init.go @@ -126,7 +126,7 @@ the new provisioners will take precedence. }, }, } - if f, err := os.OpenFile(initCmdScoreFile, os.O_CREATE|os.O_WRONLY, 0600); err != nil { + if f, err := os.OpenFile(initCmdScoreFile, os.O_CREATE|os.O_WRONLY, 0755); err != nil { return errors.Wrap(err, "failed to open empty Score file") } else { defer f.Close()